Docker containers not using host DNS in boot2docker

前端 未结 2 827
庸人自扰
庸人自扰 2021-01-18 12:23

I am running boot2docker on my Mac. OSX version 10.9.3 boot2docker version 4.3.12 Docker version 0.12.0

The boot2docker image is a vagrant box, using virtualbox. I

2条回答
  •  隐瞒了意图╮
    2021-01-18 12:54

    credit to @oillio for the issue link and the discussion inside.

    It happens in Windows 7 environment as well using boot2docker 1.0.1, I follow the suggestion in https://github.com/boot2docker/boot2docker/issues/357

    $ sudo udhcpc   # refresh the DHCP 
    $ sudo /etc/init.d/docker restart # restart the service
    

提交回复
热议问题