内核目前版本
gnuhealth@localhost:~ $ uname -r
3.11.6docker已经启动运行 docker info
gnuhealth@localhost:~ $ sudo docker info
[sudo] password for gnuhealth:
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host? 运行 docker -d
gnuhealth@localhost:~ $ sudo docker -d
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] +job init_networkdriver()
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
Unable to enable network bridge NAT: iptables failed: iptables --wait -I POSTROUTING -t nat -s 172.17.42.1/16 ! -o docker0 -j MASQUERADE: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
(exit status 3)
INFO[0000] -job init_networkdriver() = ERR (1)
FATA[0000] (exit status 3) iptables的版本也升级过,目前版本为
gnuhealth@localhost:~ $ iptables -V
iptables v1.4.21运行iptables -t net -L
gnuhealth@localhost:~ $ sudo iptables -t net -L
iptables v1.4.21: can't initialize iptables table `net': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.如何解决这个nat表丢失的问题????求大神指导···········
gnuhealth@localhost:~ $ uname -r
3.11.6docker已经启动运行 docker info
gnuhealth@localhost:~ $ sudo docker info
[sudo] password for gnuhealth:
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host? 运行 docker -d
gnuhealth@localhost:~ $ sudo docker -d
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] +job init_networkdriver()
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
Unable to enable network bridge NAT: iptables failed: iptables --wait -I POSTROUTING -t nat -s 172.17.42.1/16 ! -o docker0 -j MASQUERADE: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
(exit status 3)
INFO[0000] -job init_networkdriver() = ERR (1)
FATA[0000] (exit status 3) iptables的版本也升级过,目前版本为
gnuhealth@localhost:~ $ iptables -V
iptables v1.4.21运行iptables -t net -L
gnuhealth@localhost:~ $ sudo iptables -t net -L
iptables v1.4.21: can't initialize iptables table `net': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.如何解决这个nat表丢失的问题????求大神指导···········
解决方案 »
- 安装openstack glance 出错求解
- config里面的问题,帮忙解决下
- 配置swift使用keystone认证后,执行swift --debug --verbose stat总是卡在这,啥原因?
- 【转】未来的云计算语言?Go 正在 Google 内部崛起
- 【求助】不到10人的办公室搭建服务器方案
- 用wireshark抓包,发现校验和出现错误但是还是能建立连接,为什么?
- 公司准备把数据包放到云备份 云存储上 ,怎么做??
- 未创建s3时,ebs快照的存储位置
- docker的ubuntu容器中如何获取文件信息
- 大数据学习
- /etc/hosts无法commit
- spark环境搭好,spark-shell可以用,spark-submit提交例子程序报错
pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
docker -d
输入:iptables -t nat -F
lqt@localhost:~ $ sudo iptables -t nat -F
[sudo] password for gnuhealth:
iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
后面就是:
lqt@localhost:~ $ sudo ifconfig docker0 down
lqt@localhost:~ $ sudo brctl delbr docker0
lqt@localhost:~ $ sudo docker -d
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] +job init_networkdriver()
Unable to enable network bridge NAT: iptables failed: iptables --wait -I POSTROUTING -t nat -s 172.17.42.1/16 ! -o docker0 -j MASQUERADE: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
(exit status 3)
INFO[0000] -job init_networkdriver() = ERR (1)
FATA[0000] (exit status 3)
肿么破??