IT 한길

os : centos8

 

아래와 같은 오류발생함.

[root@localhost ~]# docker container start jenkins
Error response from daemon: driver failed programming external connectivity on endpoint jenkins (ac7170f1dcb866487f84061e32d5d9705c1692d66996ce533b7e2f64c60aca9b):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 50000 -j DNAT --to-destination 172.17.0.2:50000 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1))
Error: failed to start containers: jenkins

아래와 같이 해결함.

[root@localhost /]# iptables -t filter -F
[root@localhost /]# iptables -t filter -X
[root@localhost /]# systemctl restart docker

 

'IT > Docker' 카테고리의 다른 글

[Docker] mysql 설치하기  (0) 2020.08.21
[Docker] 도커 컨테이너에서 VI 사용하기  (0) 2020.06.11
[Docker]도커 접속 방법 (docker exec)  (0) 2020.06.11
[Docker] 도커 설치 (CentOS 8)  (0) 2020.06.09