Published: 03 May 2019 › Updated: 03 May 2019

how to install docker & docker-compose(docker 설치)
환경
CentOS 7 Linux icinga2-docker 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
docker 설치
root 권한으로 설치
$ curl -fsSL https://get.docker.com/ | sudo sh
- 버전확인
$ docker version
Client:
Version: 18.09.5
API version: 1.39
Go version: go1.10.8
Git commit: e8ff056
Built: Thu Apr 11 04:43:34 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.5
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: e8ff056
Built: Thu Apr 11 04:13:40 2019
OS/Arch: linux/amd64
Experimental: false
Client와 Server 정보가 정상적으로 출력되어야 한다.
Server 정보가 안나오고 Error response from daemon: Bad response from Docker engine이라는 메시지가 출력되는 경우는 보통 docker daemon이 정상적으로 실행되지 않았거나 sudo를 입력하지 않은 경우
docker compose 설치
docker 설정 관리 툴
$ yum install -y python-pip
$ pip install docker-compose
$ chmod +x /usr/local/bin/docker-compose
$ docker-compose version
docker-compose version 1.24.0, build 0aa5906
docker-py version: 3.7.2
CPython version: 2.7.5
OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017
참고
Leave how to install docker & docker-compose(docker 설치) to:
Read more #docker posts
Best Posts From carlton.soul
We have not curated any of carlton.soul's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From carlton.soul
- 유용한 Bash 키보드 단축키 목록
- how to change hostname of icinga2 master server
- how to install docker & docker-compose(docker 설치)
- beautiful 4k screen saver(Aerial)
- make pem file
- 퀸 라이브 에이드(Queen - Live at LIVE AID 1985/07/13 [Best Version])
- Korean beautiful actor(2)
- 삭제
- use guestfish base64 command example
- Korean beautiful actor