Howie play Docker-centos 7 Docker launch container iptables Report No Chain/target/match by that Name__centos

Source: Internet
Author: User

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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.