Docker Notebook
docker
grep docker log
# container is logging to stderr, piping works only for stdout
docker logs 4d2dfb460603 2>&1 | grep --color -A 10 <YOUR_TARGET>
docker machine
switch back to local docker env
eval "$(docker-machine env -u)"
docker registry
custome docker registry: certificate has expired or is not yet valid
Error response from daemon: Get https://hub.naviwe.com/v2/: x509: certificate has expired or is not yet valid
linux:
# /etc/docker/daemon.json
{
"insecure-registries" : [ "hostname.cloudapp.net:5000" ]
}
mac: Add your own docker registry to insecure-registries in docker Mac app settings