Docker daemon config file on boot2docker / docker-machine / Docker Toolbox -


Where can I find the Docker Daemon config file on a boot2dock machine?

According to this topic:

I want to set "code" in "code", but I want to configure it in the file / etc / default or Somewhere else

boot 2 docker ( boot2docker ssh ) / docker-machine ( Docker-Machine SSH ) or open the file / var / lib / boot2docker / profile and add the following line:

  EXTRA_ARGS = " - DNS 192.168.1.145 " 

Also works for:

  EXTRA_ARGS =" - After the change you need to restart the Docker daemon :  
  sudo /etc/init.d/docker restart   code>  

or leave boot2docker / docker-machine and complete virtual machine Restart:

  boot2docker restart # docker Default Runtime for Machine Docker Machine  

Information taken from:

Regards


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -