728x90
반응형
Docker Trouble Shuting Guide
Docker 사용시 발생한 문제 및 해결책들에 대해 공유 하도록 하겠습니다.
- 문제 : ERROR: Failed to Setup IP tables 에러
- 해결책 : systemctl restart docker.service
$ docker-compose up
Creating network "dblink_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-b50eacddd935 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))
$ systemctl restart docker.service
$ systemctl status docker.service
* docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since 화 2022-04-12 12:07:44 KST; 7min ago
Docs: https://docs.docker.com
Main PID: 20828 (dockerd)
Tasks: 11
Memory: 83.8M
CGroup: /system.slice/docker.service
`-20828 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --data-root=/data300G/docker-image
Creating network "dblink_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-b50eacddd935 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))
$ systemctl restart docker.service
$ systemctl status docker.service
* docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since 화 2022-04-12 12:07:44 KST; 7min ago
Docs: https://docs.docker.com
Main PID: 20828 (dockerd)
Tasks: 11
Memory: 83.8M
CGroup: /system.slice/docker.service
`-20828 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --data-root=/data300G/docker-image
728x90
반응형