[버전확인]
$ docker -v
Docker version 20.10.17, build 100c701
[프로세스확인]
$ docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[서비스확인]
$ systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Docs: https://docs.docker.com
[서비스시작]
$ sudo systemctl start docker
[다시서비스확인]
$ systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-10-26 02:06:01 KST; 2s ago
Docs: https://docs.docker.com
Process: 1478 ExecStartPre=/usr/libexec/docker/docker-setup-runtimes.sh (code=exited, status=0/SUCCESS)
Process: 1476 ExecStartPre=/bin/mkdir -p /run/docker (code=exited, status=0/SUCCESS)
Main PID: 1481 (dockerd)
Tasks: 9
Memory: 22.2M
CGroup: /system.slice/docker.service
└─1481 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --default-ulimit nofile=32768:65536
[다시프로세스확인]
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[이미지확인]
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> 4f4aefa11b8f 7 days ago 6.51GB
'리눅스' 카테고리의 다른 글
리눅스 계정 timeout (0) | 2023.02.24 |
---|---|
젠킨스 포트 변경 (0) | 2023.02.24 |
아파치 포비든 Forbbiden 403 오류 (0) | 2022.11.11 |
리눅스 (CentOs7) 젠킨스 설치. (2022.11.07) (0) | 2022.11.07 |
MariaDB 2개 설치 - CentOS7 ( 2021년 ) (2) | 2022.01.14 |
리눅스 파일 0byte 만들기 (0) | 2021.03.11 |
쉘스크립트 - 맵 (0) | 2020.10.31 |
리눅스 - multi sort (다중 정렬) (0) | 2020.10.13 |