内核目前版本
gnuhealth@localhost:~ $ uname -r
3.11.6
docker已经启动
运行 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表丢失的问题????求大神指导···········
回贴