"Docker 클라이언트만 설치하기"의 두 판 사이의 차이

(새 문서: ==개요== ;도커 client만 설치하기 ;Docker 클라이언트만 설치하기 <source lang='bash'> DOCKER_VERSION=19.03.5 curl -fsSL https://download.docker.com/linux/static/stab...)
 
7번째 줄: 7번째 줄:
curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz | tar zxvf - --strip 1 -C /usr/local/bin docker/docker
curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz | tar zxvf - --strip 1 -C /usr/local/bin docker/docker
</source>
</source>
<source lang='bash'>
 
{{소스헤더|실행예시}}
<source lang='console'>
root@localhost:~# docker
root@localhost:~# docker
bash: docker: command not found
bash: docker: command not found

2020년 1월 19일 (일) 01:42 판

1 개요

도커 client만 설치하기
Docker 클라이언트만 설치하기
DOCKER_VERSION=19.03.5
curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz | tar zxvf - --strip 1 -C /usr/local/bin docker/docker
실행예시
root@localhost:~# docker
bash: docker: command not found
root@localhost:~# DOCKER_VERSION=19.03.5
root@localhost:~# ll /usr/local/bin/docker
-rwxr-xr-x 1 1000 1000 65641786 Nov 13 16:30 /usr/local/bin/docker*
root@localhost:~# docker version
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea838
 Built:             Wed Nov 13 07:22:05 2019
 OS/Arch:           linux/amd64
 Experimental:      false
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}