docker-compose启动某个容器失败
docker-compose up -d出现报错:
[root@localhost services]# docker-compose up -d
[+] Running 1/2
⠿ Container grafana Running 0.0s
⠙ Container test-performance Starting 0.1s
Error response from daemon: driver failed programming external connectivity on endpoint test-performance (f4452da82baa0cd04076fa6eb203bc1d191c9625f217aeb29833abaaac3b42d8): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 38073 -j DNAT --to-destination 10.12.0.8:6278 ! -i br-427df8486c7a: iptables: No chain/target/match by that name.
(exit status 1))
解决:
重启docker服务
systemctl restart docker