Quick rundown of my experience with moby/moby#97
The docker binary is built with the development environment instructions in the README. I move the binary into /usr/local/bin in the vagrant vm and restart the dockerd service.
All is well until I start a container with port forwarding like so. Any image, any port, and any command seem to cause the problem.
$ docker run -p 80 flask python /root/hello/hello.py
ID IMAGE COMMAND CREATED STATUS COMMENT
UID PID PPID C STIME TTY TIME CMD root 1 0 0 08:49 ? 00:00:00 /sbin/init root 2 0 0 08:49 ? 00:00:00 [kthreadd] root 3 2 0 08:49 ? 00:00:00 [ksoftirqd/0] root 6 2 0 08:49 ? 00:00:00 [migration/0] root 7 2 0 08:49 ? 00:00:00 [watchdog/0] root 8 2 0 08:49 ? 00:00:00 [cpuset] root 9 2 0 08:49 ? 00:00:00 [khelper] root 10 2 0 08:49 ? 00:00:00 [kdevtmpfs] root 11 2 0 08:49 ? 00:00:00 [netns] root 12 2 0 08:49 ? 00:00:00 [sync_supers] root 13 2 0 08:49 ? 00:00:00 [bdi-default] root 14 2 0 08:49 ? 00:00:00 [kintegrityd] root 15 2 0 08:49 ? 00:00:00 [kblockd] root 16 2 0 08:49 ? 00:00:00 [ata_sff] root 17 2 0 08:49 ? 00:00:00 [khubd] root 18 2 0 08:49 ? 00:00:00 [md] root 20 2 0 08:49 ? 00:00:00 [kworker/0:1] root 21 2 0 08:49 ? 00:00:00 [khungtaskd] root 22 2 0 08:49 ? 00:00:00 [kswapd0] root 23 2 0 08:49 ? 00:00:00 [ksmd] root 24 2 0 08:49 ? 00:00:00 [fsnotify_mark] root 25 2 0 08:49 ? 00:00:00 [ecryptfs-kthrea] root 26 2 0 08:49 ? 00:00:00 [crypto] root 35 2 0 08:49 ? 00:00:00 [kthrotld] root 36 2 0 08:49 ? 00:00:00 [scsi_eh_0] root 38 2 0 08:49 ? 00:00:00 [scsi_eh_1] root 39 2 0 08:49 ? 00:00:00 [scsi_eh_2] root 40 2 0 08:49 ? 00:00:00 [kworker/u:3] root 42 2 0 08:49 ? 00:00:00 [binder] root 61 2 0 08:49 ? 00:00:00 [deferwq] root 62 2 0 08:49 ? 00:00:00 [charger_manager] root 63 2 0 08:49 ? 00:00:00 [devfreq_wq] root 206 2 0 08:49 ? 00:00:00 [kdmflush] root 208 2 0 08:49 ? 00:00:00 [kdmflush] root 223 2 0 08:49 ? 00:00:00 [jbd2/dm-0-8] root 224 2 0 08:49 ? 00:00:00 [ext4-dio-unwrit] root 335 1 0 08:49 ? 00:00:00 upstart-udev-bridge --daemon root 340 1 0 08:49 ? 00:00:00 /sbin/udevd --daemon root 411 2 0 08:49 ? 00:00:00 [iprt] root 531 2 0 08:49 ? 00:00:00 [kpsmoused] 102 650 1 0 08:49 ? 00:00:00 dbus-daemon --system --fork syslog 669 1 0 08:49 ? 00:00:00 rsyslogd -c5 root 721 1 0 08:49 ? 00:00:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases root 790 1 0 08:49 ? 00:00:00 upstart-socket-bridge --daemon root 809 1 0 08:49 ? 00:00:00 /usr/sbin/sshd -D root 901 1 0 08:49 tty4 00:00:00 /sbin/getty -8 38400 tty4 root 907 1 0 08:49 tty5 00:00:00 /sbin/getty -8 38400 tty5 root 914 1 0 08:49 tty2 00:00:00 /sbin/getty -8 38400 tty2 redis 916 1 0 08:49 ? 00:00:00 /usr/bin/redis-server /etc/redis/redis.conf root 917 1 0 08:49 tty3 00:00:00 /sbin/getty -8 38400 tty3 root 921 1 0 08:49 tty6 00:00:00 /sbin/getty -8 38400 tty6 whoopsie 945 1 0 08:49 ? 00:00:00 whoopsie root 946 1 0 08:49 ? 00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket root 960 1 0 08:49 ? 00:00:00 cron daemon 961 1 0 08:49 ? 00:00:00 atd 107 1011 1 0 08:49 ? 00:00:00 dnsmasq -u lxc-dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/lxc/d root 1060 1 0 08:49 ? 00:00:00 /usr/sbin/VBoxService root 1159 1 0 08:49 tty1 00:00:00 /sbin/getty -8 38400 tty1 root 1162 2 0 08:49 ? 00:00:00 [flush-252:0] root 1166 1 0 08:49 ? 00:00:00 /usr/sbin/console-kit-daemon --no-daemon root 1233 1 0 08:49 ? 00:00:00 /usr/lib/policykit-1/polkitd --no-debug root 4275 809 0 08:50 ? 00:00:00 sshd: vagrant [priv] vagrant 4382 4275 0 08:50 ? 00:00:00 sshd: vagrant@pts/1 vagrant 4383 4382 0 08:50 pts/1 00:00:00 -bash root 4561 2 0 08:54 ? 00:00:00 [kworker/0:0] root 4691 1 0 08:55 ? 00:00:00 /bin/sh -e /proc/self/fd/9 root 4692 4691 0 08:55 ? 00:00:00 /usr/local/bin/docker -d root 4766 2 0 08:55 ? 00:00:00 [kworker/u:1] root 4787 340 0 08:55 ? 00:00:00 /sbin/udevd --daemon root 4788 340 0 08:55 ? 00:00:00 /sbin/udevd --daemon root 4835 2 0 08:59 ? 00:00:00 [kworker/0:2] vagrant 4840 4383 0 09:00 pts/1 00:00:00 ps -ef
Chain PREROUTING (policy ACCEPT) target prot opt source destination DOCKER all -- anywhere anywhere Chain INPUT (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- 10.0.3.0/24 !10.0.3.0/24 Chain DOCKER (1 references) target prot opt source destination
Its all the same except a new docker process running as its set to respawn in /etc/init/dockerd.conf.