zl程序教程

您现在的位置是:首页 >  工具

当前栏目

docker---docker-compose up -d 报错解决

Docker 解决 报错 --- Compose Up
2023-09-27 14:28:05 时间
$ docker-compose up -d
Creating network "drupal_default" with the default driver
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  
(iptables failed: iptables --wait -t nat -I DOCKER -i br-6c25bf895a94 -j
RETURN: iptables: No chain/target/match by that name. (exit status 1))


【解决】
iptables -t filter -N DOCKER execute this command restart the docker solving an issue.
This issue you may get if you stop the firewalld after installing docker.
If you stop firewalld before installing docker, then you may not get this issue.