Restart the server, previously able to run the Docker network applications can not be opened normally.
Because of the use of CENTOS7, so speculation is likely to be a iptables problem.
Docker start or run always prompt for a similar error:
No Chain/target/match by that name
Google a bit, and some people actually encountered similar problems.
Centos 7 of/etc/sysconfig/iptables files:
*nat
:P rerouting ACCEPT [27:11935]
: INPUT ACCEPT [0:0]
: OUTPUT ACCEPT [598:57368]
:P ostrouting ACCEPT [591:57092]
:D Ocker-[0:0]
-a prerouting-m addrtype--dst-type local-j Docker
-a OUTPUT!-D 127.0.0.0/8-M addrtype--dst-ty PE local-j Docker
-A postrouting-s 172.17.0.0/16!-o docker0-j Masquerade
COMMIT
# Completed on Sun Sep 20 17:35:31 2015
# Generated by Iptables-save v1.4.21 on Sun Sep-17:35:31 2015
*filter
: INPUT ACCEPT [1392 91:461018923]
: FORWARD ACCEPT [0:0]
: OUTPUT ACCEPT [127386:5251162]
:D ocker-[0:0]
-A Forward-o Docker0-j Docker
-a forward-o docker0-m conntrack--ctstate related,established-j ACCEPT
-a forward-i Docke R0! -O docker0-j ACCEPT
-A forward-i docker0-o docker0-j ACCEPT
COMMIT
# Completed on Sun Sep 20 17:35:31 2 015
Compared to my own file, found that there is no Docker project, there is no way, on the contrast to write try it.
And then, incredibly, just fine.
Thank you for the original: http://www.lxy520.net/2015/09/24/centos-7-docker-qi-dong-bao/