IT/Docker
[Docker] 도커 실행 실패, Failed to start Docker Application ...
월공
2022. 12. 19. 20:26
728x90
300x250
# 도커 실행시 아래와 같은 에러 지속 발생
Job for docker.service failed because start of the service was attempted too often. See "systemctl status docker.service" and "journalctl -xe" for details.
To force a start use "systemctl reset-failed docker.service" followed by "systemctl start docker.service" again.
이거 때문에 도커 재설치도 해보고 온갖 생쇼를 다해봤는데 결국은 iptables stop 시키고 firewalld 재실행하니까 해결되었다 -_- ;
Dec 19 20:08:01 tw-web firewalld[2736960]: ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.4.21: goto 'FWDI_docker' is not a chain
Error occurred at line: 2
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Dec 19 20:08:01 tw-web firewalld[2736960]: ERROR: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-restore v1.4.21: goto 'FWDI_docker' is not a chain
Error occurred at line: 2
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
Dec 19 20:08:01 tw-web firewalld[2736960]: ERROR: COMMAND_FAILED: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-restore v1.4.21: goto 'FWDI_docker' is not a chain
Error occurred at line: 2
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
근데 또 이거랑 별개로 docker 가 정상적으로 active 되었다고 나오긴 하는데..
docker ps -a
위와같이 현재 컨테이너들을 확인하려는 명령어를 치면 자꾸 아래와 같은 에러문구가 떳다.
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
ㅋㅋㅋ 진짜 나한테 왜이러냐..
여튼 이거는 뭘 해도 자꾸 docker 는 정상적으로 실행되고 있다고 뜨는데 계속 같은 에러만 떠서
다시 한번 도커를 삭제하고 재 설치하니까 이제서야 됐다..
docker 삭제 및 재설치는 아래 포스팅에서 확인할수있다.
https://bug41.tistory.com/entry/Docker-Centos-%EC%97%90%EC%84%9C-Docker-%EC%99%84%EC%A0%84%ED%9E%88-%EC%82%AD%EC%A0%9C
아니 갑자기 잘되다가 왜 이런 문제에 봉착했는지 거참 ..
내가 볼땐 컨테이너 생성하면서 브릿지 설정하면서 iptables 쪽이 꼬이면서 docker 가 뻑난거같은데
정확한 이유는 사실 모르겠다 ..
728x90
300x250