도커 종료 & 시작
user@ubuntu:~$ sudo systemctl stop docker.socket user@ubuntu:~$ sudo systemctl stop docker user@ubuntu:~$ sudo systemctl start docker
시나리오
패키지 확인 $> sudo apt list // 도커 버전 확인 $> sudo docker version Client: Docker Engine - Community Version: 20.10.16 API version: 1.41 Go version: go1.17.10 Git commit: aa7e414 Built: Thu May 12 09:17:23 2022 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.16 API version: 1.41 (minimum version 1.12) Go version: go1.17.10 Git commit: f756502 Built: Thu May 12 09:15:28 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.4 GitCommit: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16 runc: Version: 1.1.1 GitCommit: v1.1.1-0-g52de29d docker-init: Version: 0.19.0 GitCommit: de40ad0 // 사용자 docker 그룹에 추가 하기 $> sudo usermod -aG docker ${사용자}