Where is the docker config file after installing DockerToolBox for Mac OS X ?
I want to add DOCKER_OPTS=" --insecure-registry=${DOMAIN}:${PORT}"
Run docker-machine ssh default
, and edit /var/lib/boot2docker/profile
.
You’re probably well-served to get a valid SSL setup on your registry. If you can’t get something signed by a well-known CA, it looks like Docker looks for additional certificates in /etc/ssl/certs/ca-certificates.crt
and /etc/pki/tls/certs/ca-bundle.crt
, again, both inside the VM (I don’t know what the right way is to rebuild the ca-certificates.crt
file though).