Hi!,
same issue here. Installed MongoDB docker image and failing during start.
Code:
{"message":"driver failed programming external connectivity on endpoint mongo (b7ffd534c50bc3d2c2fea09e9595641597559d01b6a37cb22c0e42441c242ec6): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 27017 -j ACCEPT: iptables: No chain/target/match by that name.\n (exit status 1))"}
Perhaps missing destination in NAT?
IPTABLES "iptables: No chain/target/match by that name."
In stackoverflow:
How to fix “iptables: No chain/target/match by that name”?
Or perhaps a firewall issue (see service docker status command info below)
Thank you for your answers!
--------------------------------------
Product version: Plesk Onyx 17.5.3 Update #6
Update date: 2017/05/27 03:18
Build date: 2017/03/17 16:00
OS version: CentOS 7.3.1611
Revision: 55d1b49a272f44666e1920eca8b6e4da449a38cd
Architecture: 64-bit
Wrapper version: 1.2
# ps aux | grep docker
root 734 0.1 0.4 655424 38740 ? Ssl may20 10:46 /usr/bin/dockerd
root 1025 0.0 0.1 464880 8340 ? Ssl may20 5:57 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc
root 3754 0.0 0.0 112672 920 pts/0 S+ 16:51 0:00 grep --color=auto docker
# service docker status
Redirecting to /bin/systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since sáb 2017-05-20 11:02:03 CEST; 1 weeks 0 days ago
Docs:
Docker Documentation
Main PID: 734 (dockerd)
Memory: 449.7M
CGroup: /system.slice/docker.service
├─ 734 /usr/bin/dockerd
└─1025 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docke...
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.321345875+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 2"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.330512499+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 3"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.339475185+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 4"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.348512998+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 5"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.357399710+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 6"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.366451803+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 7"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.375452985+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 8"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.384414088+02:00" level=warning msg="Failed to allocate and map port: (ipt...retry: 9"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.393335727+02:00" level=warning msg="Failed to allocate and map port: (ipt...etry: 10"
may 27 16:30:57 server dockerd[734]: time="2017-05-27T16:30:57.409066504+02:00" level=error msg="Handler for POST /containers/7b2294089f09bb2a1978...
Hint: Some lines were ellipsized, use -l to show in full.