728x90
작업 당시 상태
네트워크 목록
NETWORK ID NAME DRIVER SCOPE 281f4602bc46 bridge bridge local fabd26aa6418 host host local 92b1d468cbbc mariadb_default bridge local 9c9dcf01cf5b none null local f26227b41aa2 was_net macvlan local
기동시 에러 로그
Creating network "prometheus_default" with the default driver ERROR: Failed to program NAT chain: 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
진행 순서
1. docker 데몬의 문제가 있어서 restart를 해보기로 진행
sudo systemctl restart docker
2. 이후 올라오지 않는 문제 발생
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
3. systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2023-06-02 09:31:41 KST; 14s ago
Docs: <https://docs.docker.com>
Process: 5770 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 5770 (code=exited, status=1/FAILURE)
4. 상세 목록이 나오지 않아서 “journalctl -u docker.service” 명령어로 조회
Jun 02 09:31:36 localhost.localdomain dockerd[5693]: failed to start daemon: Error initializing network controller: Error creating default "bridge" network: Failed to program NAT chain: COMMAND_FAILED: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-r
Jun 02 09:31:36 localhost.localdomain dockerd[5693]: Error occurred at line: 2
Jun 02 09:31:36 localhost.localdomain dockerd[5693]: Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
Jun 02 09:31:36 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Jun 02 09:31:36 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
Jun 02 09:31:36 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Jun 02 09:31:36 localhost.localdomain systemd[1]: docker.service failed.
Jun 02 09:31:38 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
Jun 02 09:31:38 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
Jun 02 09:31:38 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.367123151+09:00" level=info msg="Starting up"
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.368566080+09:00" level=info msg="[core] [Channel #1] Channel created" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.368618584+09:00" level=info msg="[core] [Channel #1] original dial target is: \\"unix:///run/containerd/containerd.sock\\"" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.368688339+09:00" level=info msg="[core] [Channel #1] parsed dial target is: {Scheme:unix Authority: Endpoint:run/containerd/containerd.sock URL:{Scheme:unix Opaque: User: Host: P
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.368709572+09:00" level=info msg="[core] [Channel #1] Channel authority set to \\"localhost\\"" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.368874672+09:00" level=info msg="[core] [Channel #1] Resolver state updated: {\\n \\"Addresses\\": [\\n {\\n \\"Addr\\": \\"/run/containerd/containerd.sock\\",\\n \\"ServerNam
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.368967807+09:00" level=info msg="[core] [Channel #1] Channel switches to new LB policy \\"pick_first\\"" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.369067245+09:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel created" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.369139454+09:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.369192839+09:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel picks a new address \\"/run/containerd/containerd.sock\\" to connect" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.369252808+09:00" level=info msg="[core] [Channel #1] Channel Connectivity change to CONNECTING" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.369776020+09:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel Connectivity change to READY" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.369810193+09:00" level=info msg="[core] [Channel #1] Channel Connectivity change to READY" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.370822559+09:00" level=info msg="[core] [Channel #4] Channel created" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.370860445+09:00" level=info msg="[core] [Channel #4] original dial target is: \\"unix:///run/containerd/containerd.sock\\"" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.370892396+09:00" level=info msg="[core] [Channel #4] parsed dial target is: {Scheme:unix Authority: Endpoint:run/containerd/containerd.sock URL:{Scheme:unix Opaque: User: Host: P
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.370911533+09:00" level=info msg="[core] [Channel #4] Channel authority set to \\"localhost\\"" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.370959447+09:00" level=info msg="[core] [Channel #4] Resolver state updated: {\\n \\"Addresses\\": [\\n {\\n \\"Addr\\": \\"/run/containerd/containerd.sock\\",\\n \\"ServerNam
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.370988170+09:00" level=info msg="[core] [Channel #4] Channel switches to new LB policy \\"pick_first\\"" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.371018057+09:00" level=info msg="[core] [Channel #4 SubChannel #5] Subchannel created" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.371077973+09:00" level=info msg="[core] [Channel #4 SubChannel #5] Subchannel Connectivity change to CONNECTING" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.371119981+09:00" level=info msg="[core] [Channel #4 SubChannel #5] Subchannel picks a new address \\"/run/containerd/containerd.sock\\" to connect" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.371139365+09:00" level=info msg="[core] [Channel #4] Channel Connectivity change to CONNECTING" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.371441512+09:00" level=info msg="[core] [Channel #4 SubChannel #5] Subchannel Connectivity change to READY" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.371470381+09:00" level=info msg="[core] [Channel #4] Channel Connectivity change to READY" module=grpc
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.429039788+09:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.471911361+09:00" level=info msg="Loading containers: start."
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.582713397+09:00" level=info msg="Firewalld: docker zone already exists, returning"
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.890673989+09:00" level=warning msg="could not create bridge network for id 281f4602bc46b32236d903966e2f4858fae9f3e54373f161d1f6292a5244e23e bridge name docker0 while booting up f
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.966418732+09:00" level=warning msg="could not create bridge network for id 92b1d468cbbcaf2d8ccc1019182a002fffb96d2b0dd516e55d05fa71c2027e01 bridge name br-92b1d468cbbc while boot
Jun 02 09:31:38 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:38.969594190+09:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:39.036955736+09:00" level=info msg="[core] [Channel #1] Channel Connectivity change to SHUTDOWN" module=grpc
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:39.037000355+09:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel Connectivity change to SHUTDOWN" module=grpc
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:39.037031260+09:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel deleted" module=grpc
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:39.037052457+09:00" level=info msg="[core] [Channel #1] Channel deleted" module=grpc
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: time="2023-06-02T09:31:39.037167716+09:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: failed to start daemon: Error initializing network controller: Error creating default "bridge" network: Failed to program NAT chain: COMMAND_FAILED: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-r
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: Error occurred at line: 2
Jun 02 09:31:39 localhost.localdomain dockerd[5770]: Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
Jun 02 09:31:39 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Jun 02 09:31:39 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
Jun 02 09:31:39 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Jun 02 09:31:39 localhost.localdomain systemd[1]: docker.service failed.
Jun 02 09:31:41 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
Jun 02 09:31:41 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
Jun 02 09:31:41 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
Jun 02 09:31:41 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
Jun 02 09:31:41 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Jun 02 09:31:41 localhost.localdomain systemd[1]: docker.service failed.
5. 이전에 방화벽을 켰다가 중간에 서비스를 아예 막아버려서그런지 그때부터 이상해짐……. ⇒ 일단 서버 reboot
6. reboot를 하니 정상적으로 기동이 됬음…
728x90
반응형
LIST
'infra > Docker' 카테고리의 다른 글
| Docker, docker-compose 설치 (0) | 2024.01.18 |
|---|---|
| docker + jenkins + git (0) | 2024.01.10 |
| Rocky9.1 + tomcat Dockerfile (0) | 2024.01.10 |
| Tomcat 전용 Dockerfile (0) | 2024.01.10 |
| MacVLan 구성 (0) | 2024.01.10 |