osx - Using docker on Mac. Is it possible to start docker daemon using docker-machine and pass in arguments? -


i have private repo need pass in via "--insecure-registry myprivateregistry:5000" argument works fine in linux environment via command:

docker -d --insecure-registry myprivateregistry:5000

i'm not sure how pass when i'm starting mac client however. use docker-machine start , stop default instance, don't see how pass in option. please help.

i figured out. need add argument in file after docker-machine ssh default (my running daemon):

/var/lib/boot2docker/profile   extra_args='--insecure-registry myprivateregistry:5000' 

restart docker daemon via docker-machine restart default , can connect!

this article useful: docker daemon config file on boot2docker / docker-machine / docker toolbox


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -