Centos 7 docker 启动容器iptables 报No chain/target/match by that
2018-01-10 00:00
826 查看
摘要: Docker Centos7 上安装Registry
操作系统为centos7
#systemctl start firewalld
1.运行Registry出错
[root@localhost ~]# docker run -d -p 5000:5000 -v ~/docker-registry:/tmp/registry registry d03d54ce1199d18b11c07638ed7963f6a5d3814bdbc32cf1ef2159ebc2c06fd6 docker: Error response from daemon: driver failed programming external connectivity on endpoint inspiring_lewin (c1a0dd7ff97432868aea4fea178bd69dd07eedf0316ffbad56a6101bcfb85e01): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 5000 -j DNAT --to-destination 172.17.0.2:5000 ! -i docker0: iptables: No chain/target/match by that name. (exit status 1)). [root@localhost ~]#
操作系统为centos7
2. 解决方法
把防火墙开启来#systemctl start firewalld
相关文章推荐
- Centos 7 docker 启动容器 iptables 报 No chain/target/match by that name
- Centos 7 docker 启动容器 iptables 报 No chain/target/match by that name
- docker0: iptables: No chain/target/match by that name错误处理
- 解决docker run报错:172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name...
- docker 端口映射iptables: No chain/target/match by that name错误解决方法
- docker0: iptables: No chain/target/match by that name.
- Docker 启动时报错:iptables:No chain/target/match by the name
- docker启动容器报"iptables No chain/target/match"
- 设置ip转发提示iptables: No chain/target/match by that name错误的解决方法
- 设置ip转发提示iptables: No chain/target/match by that name错误的解决方法
- iptables -t mangle -A PREROUTING -j MARK --set-mark 1提示iptables: No chain/target/match by that name
- iptables: No chain/target/match by that name.
- 设置ip转发提示iptables: No chain/target/match by that name错误的解决方法
- Rancher docker0: iptables: No chain/target/match
- docker 启动 centos 镜像,容器会自动退出
- Centos 7 docker 启动容器iptables报No chain/target/match by that name
- centos 使用 systemctl 使 docker 容器(container)开机启动
- centos7.3下安装nginx出现make: *** No rule to make target `build', needed by `default'. Stop.
- centos 7 Docker容器启动报WARNING: IPv4 forwarding is disabled. Networking will not work
- Docker 启动 Centos 镜像 提示"Error response from daemon: No command specified"