简体   繁体   中英

Can't use host machine internet after docker installation

After I install docker.io to my computer(Ubuntu 16.04), the hosts machine internet goes away. Could anyone help me, how can I use both internet and the installed docker. I could write this here, because I removed docker, and now it is not on my machine.

Thanks in advance!

I had to add the following lines into /etc/docker/daemon.json :

{
  "bip": "172.26.0.1/16"
}

If you are using VM environments, have you
a) set the VM network adapter to dhcp and
b) shared your main connection to the VM network adapter?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM