Docker Community Forums

Share and learn in the Docker community.

Where do I set DOCKER_OPTS for insecure registry?

beta
docker

(Firefoxnx) #1

I am using > Docker version 1.11.1, build 5604cbe

On my Mac machine I am trying to do docker push to private docker registry running on remote VM. I am unable to get SSL to work and want to use insecure registry following instructions on https://docs.docker.com/registry/insecure/ How Can I specify DOCKER_OPTS on my Mac so I can push the image to private registry?


(Jlamillan) #2

Try this:
pinata set daemon '{"storage-driver":"aufs","debug":true,"insecure-registries":["your.insecure.registry.com:5000"]}'