(no commit message)
authorChristian Weiske <cweiske@cweiske.de>
Wed, 12 Nov 2014 09:31:38 +0000 (10:31 +0100)
committerwww-cweiske <www-cweiske@localhost.localdomain>
Wed, 12 Nov 2014 09:31:38 +0000 (10:31 +0100)
1-problem.txt [new file with mode: 0644]
2-syslog.txt [new file with mode: 0644]
3-solution.txt [new file with mode: 0644]

diff --git a/1-problem.txt b/1-problem.txt
new file mode 100644 (file)
index 0000000..64aba1e
--- /dev/null
@@ -0,0 +1,30 @@
+$ service docker restart\r
+stop: Unknown instance: \r
+docker start/running, process 22604\r
+\r
+$ service docker status\r
+docker start/running, process 22992\r
+\r
+$ service docker status\r
+docker start/running, process 23093\r
+\r
+$ docker ps\r
+2014/11/12 09:56:11 Get http:///var/run/docker.sock/v1.15/containers/json: read unix /var/run/docker.sock: connection reset by peer\r
+\r
+$ service docker stop\r
+docker stop/waiting\r
+\r
+$ docker -d\r
+2014/11/12 09:57:12 docker daemon: 1.3.1 4e9bbfa; execdriver: native; graphdriver: \r
+[df63e949] +job serveapi(unix:///var/run/docker.sock)\r
+[info] Listening for HTTP on unix (/var/run/docker.sock)\r
+[df63e949] +job init_networkdriver()\r
+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?)\r
+Perhaps iptables or your kernel needs to be upgraded.\r
+ (exit status 3)\r
+[df63e949] -job init_networkdriver() = ERR (1)\r
+2014/11/12 09:57:13  (exit status 3)\r
+\r
+$ iptables -t nat -F\r
+iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\r
+Perhaps iptables or your kernel needs to be upgraded.\r
diff --git a/2-syslog.txt b/2-syslog.txt
new file mode 100644 (file)
index 0000000..57a6b36
--- /dev/null
@@ -0,0 +1,5 @@
+/var/log/syslog\r
+Nov 12 09:56:03 csystems kernel: [56122.269577] init: docker main process (22604) terminated with status 1\r
+Nov 12 09:56:03 csystems kernel: [56122.269585] init: docker main process ended, respawning\r
+Nov 12 09:56:03 csystems kernel: [56122.834056] init: docker main process (22651) terminated with status 1\r
+Nov 12 09:56:03 csystems kernel: [56122.834063] init: docker main process ended, respawning
\ No newline at end of file
diff --git a/3-solution.txt b/3-solution.txt
new file mode 100644 (file)
index 0000000..003d5ea
--- /dev/null
@@ -0,0 +1,7 @@
+https://github.com/docker/docker/issues/866?source=c\r
+> Missing the 'nat' table is a symptom of missing kernel modules.\r
+\r
+task: rebuild iptables kernel modules since I have a custom kernel\r
+\r
+https://github.com/docker/docker/issues/866?source=c#issuecomment-43093182\r
+> I was missing IP_NF_TARGET_MASQUERADE in my kernel config.\r