Home > other >  [for help......] centos, for the installation of the docker, upgrade the kernel upgrade from 2.6 to
[for help......] centos, for the installation of the docker, upgrade the kernel upgrade from 2.6 to

Time:09-17

The kernel version currently
gnuhealth @ localhost: ~ $uname -r
3.11.6


Docker has begun

Run the docker info
gnuhealth @ localhost: ~ $sudo docker info
/sudo password for gnuhealth:
The FATA [0000] always connect to the daemon. The Docker Is' Docker - d 'running on this host?


Run the docker - d
gnuhealth @ localhost: ~ $sudo docker - d
The INFO [0000] + job serveapi (Unix:///var/run/docker. The sock)
The INFO [0000] + job init_networkdriver ()
The INFO [0000] Listening for HTTP on Unix (/var/run/docker. The sock)
Unable to enable the network bridge, NAT: iptables failed: iptables - wait - I POSTROUTING 172.17.42.1 -t NAT - s/16! -o docker0 -j MASQUERADE: iptables v1.4.21: can 't initialize iptables table ` NAT' : the table does not exist (do you need to insmod?)
Perhaps the iptables or your kernel needs to be upgraded.
(the exit status 3)
The INFO [0000] - job init_networkdriver ()=ERR (1)
The FATA [0000] (exit status 3)


Iptables version upgrade, the current version of
gnuhealth @ localhost: ~ $iptables - V
The iptables v1.4.21


Run the iptables - t net - L
gnuhealth @ localhost: ~ $sudo iptables - t.net -l
The iptables v1.4.21: can 't initialize iptables table `.net' : the table does not exist (do you need to insmod?)
Perhaps the iptables or your kernel needs to be upgraded.


How to solve the problem of missing the NAT table???????? Pray god guide · · · · · · · · · · ·

CodePudding user response:

This upgrade the kernel can cause lack of module reset docker try running environment, as follows:
Pkill docker
Iptables -t NAT -f
The ifconfig docker0 down
BRCTL delbr docker0
Docker - d

CodePudding user response:

Hello, thank you very much for your reply, but if still won't do...
Input: iptables -t NAT -f
LQT @ localhost: ~ $sudo iptables -t NAT -f
/sudo password for gnuhealth:
The iptables v1.4.21: can 't initialize iptables table ` NAT' : the table does not exist (do you need to insmod?)
Perhaps the iptables or your kernel needs to be upgraded.
The back is:
LQT @ localhost: ~ $sudo ifconfig docker0 down
LQT @ localhost: ~ $sudo BRCTL delbr docker0
LQT @ localhost: ~ $sudo docker - d
The INFO [0000] + job serveapi (Unix:///var/run/docker. The sock)
The INFO [0000] Listening for HTTP on Unix (/var/run/docker. The sock)
The INFO [0000] + job init_networkdriver ()
Unable to enable the network bridge, NAT: iptables failed: iptables - wait - I POSTROUTING 172.17.42.1 -t NAT - s/16! -o docker0 -j MASQUERADE: iptables v1.4.21: can 't initialize iptables table ` NAT' : the table does not exist (do you need to insmod?)
Perhaps the iptables or your kernel needs to be upgraded.
(the exit status 3)
The INFO [0000] - job init_networkdriver ()=ERR (1)
The FATA [0000] (exit status 3)


How broken??



CodePudding user response:

I also encountered the same problem, can you tell me have you solved this problem?

CodePudding user response:

Kernel version as long as it is 2.6.32-431. The el6. X86_64 or above are no problem, a log to your kernel version is too low may be your function library version is too low, try to update the following program a try,

Yum upgrade device mapper - libs - y

CodePudding user response:

The original poster can solve the problem of no, described as the same with you,,

CodePudding user response:

reference 4 floor open_data response:
kernel version as long as it is 2.6.32-431. El6. X86_64 or above are no problem, a log to your kernel version is too low may be your function library version is too low, try to update the following program a try,

Yum upgrade device - mapper - libs - y
thank you, by this way to solve the problem

CodePudding user response:

Reinstall the kernel and configuration before the kernel support NAT
  • Related