변군이글루

[Docker] install docker on Linux 본문

* 리눅스

[Docker] install docker on Linux

변군 변군이글루 2020. 7. 26. 10:07
728x90
반응형

install docker on Linux

- https://docker.com

$ curl -fsSL https://get.docker.com -o get-docker.sh

$ chmod +x get-docker.sh

$ sh get-docker.sh

$ usermod -aG docker $USER

$ docker version
Client: Docker Engine - Community
 Version:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a66213fe
 Built:             Mon Jun 22 15:45:36 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:44:07 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

docker-compose install

- https://github.com/docker/compose/releases

$ curl -fsSL https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/bin/docker-compose

$ chmod +x /usr/bin/docker-compose

$ docker-compose version
docker-compose version 1.26.2, build eefe0d31
docker-py version: 4.2.2
CPython version: 3.7.7
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019

- docker-compose 최신 버전 설정

$ curl -fsSL https://github.com/docker/compose/releases/download/$(curl -s https://github.com/docker/compose/releases/latest | sed 's#.*tag/\(.*\)\".*#\1#')/docker-compose-$(uname -s)-$(uname -m) -o /usr/bin/docker-compose && chmod +x /usr/bin/docker-compose

ctop install

- https://github.com/bcicen/ctop/releases

$ wget https://github.com/bcicen/ctop/releases/download/v0.7.3/ctop-0.7.3-linux-amd64 -O /usr/local/bin/ctop

$ chmod +x /usr/local/bin/ctop

$ ctop -v
ctop version 0.7.3, build 4741b27 go1.13.5

Install using the convenience script
https://docs.docker.com/engine/install/centos/

 

728x90
반응형

'* 리눅스' 카테고리의 다른 글

[linux] ssh 접속 시간 체크  (0) 2020.08.04
[http] ab tools  (0) 2020.08.04
[Docker] install docker on Linux  (1) 2020.07.26
[ubuntu] snap package 사용 방법  (0) 2020.07.26
[NGINX] nginx-module-vts 모듈 추가  (0) 2020.07.21
[zabbix] zabbix agent 패키지 다운로드  (0) 2020.06.25
1 Comments
댓글쓰기 폼