红联Linux门户
Linux帮助

配置ubuntu16.10无线网络dns:failed to start containers

发布时间:2017-06-15 15:01:53来源:linux网站作者:AndySuperKing
笔记本ubuntu16.10无线网下ping oa.kokoerp.com不通,并且$ docker start servicemix
Error response from daemon: open /etc/resolv.conf: no such file or directory
Error: failed to start containers: servicemix
 
解决方案:
ubuntu与centos7不同,网络配置在/etc/network/interfaces,一般人的都是eth0,和wlan0,但在Ubuntu Server 16.10里面变成了enp4s0和wlp5s0,修改/etc/network/interfaces添加以下两行
auto wlp5s0
iface wlp5s0  inet dhcp
 
参考:
http://www.linuxdiyf.com/linux/20734.html
http://www.linuxdiyf.com/linux/526.html
 
本文永久更新地址:http://www.linuxdiyf.com/linux/31501.html