본문 바로가기

리눅스

[리눅스] Docker 중지 시 Warning

728x90

Docker 중지 시 Warning

docker 서비스 중지 시 워닝 발생

$ systemctl stop docker  
Warning: Stopping docker.service, but it can still be activated by:
  docker.socket

docker.socket, docker 서비스 중지

$ systemctl stop docker.socket
$ systemctl stop docker

상태

$ systemctl status docker     
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Mon 2021-11-01 15:50:55 KST; 7s ago
     Docs: https://docs.docker.com
  Process: 16806 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=0/SUCCESS)
 Main PID: 16806 (code=exited, status=0/SUCCESS)

Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.287197895+09:00" level=warning msg="failed to get end...ctory"
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.287224797+09:00" level=warning msg="failed to get end...ctory"
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.287338172+09:00" level=warning msg="Failed detaching sandbo...
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.287366964+09:00" level=warning msg="failed to get end...ctory"
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.287390888+09:00" level=warning msg="Failed deleting endpoin...
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.287414327+09:00" level=warning msg="Failed to delete ...ctory"
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.367456862+09:00" level=error msg="failed to process e...23443:
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.553756137+09:00" level=info msg="stopping event strea...e=moby
Nov 01 15:50:55 k8s-master dockerd[16806]: time="2021-11-01T15:50:55.554013099+09:00" level=info msg="Daemon shutdown complete"
Nov 01 15:50:55 k8s-master systemd[1]: Stopped Docker Application Container Engine.
Hint: Some lines were ellipsized, use -l to show in full.
$ ps -ef | grep -v grep | grep docker
728x90