您的位置:首页 > 运维架构 > Docker

ubuntu12.04下docker不能上网的解决办法

2016-08-03 18:09 363 查看
disable dnsmasq in NetworkManager (this might slow your network).

1.Open the /etc/NetworkManager/NetworkManager.conf file for editing.

$ sudo gedit /etc/NetworkManager/NetworkManager.conf


2.注销 the dns=dnsmasq line:

#dns=dnsmasq


3.Save and close the file.

4.Restart both the NetworkManager and Docker.

$ sudo restart network-manager
$ sudo restart docker
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  网络 dns ubuntu