Last active
June 6, 2020 00:42
-
-
Save mc3767/8ca4136660b9e9739c066f19f43b4a7a to your computer and use it in GitHub Desktop.
Revisions
-
mc3767 revised this gist
Jun 6, 2020 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## CentOS7 docker 설치 설치 되었다면 삭제 옛 버전 삭제 @@ -29,8 +29,9 @@ docker 설치 ```bash $ sudo yum install docker-ce # 설치확인 $ docker --version Docker version 19.03.10, build 9424aeaee9 ``` Docker-compose 설치 -
mc3767 created this gist
Jun 6, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,44 @@ ## CentOS7 docker 설치 ## 설치 되었다면 삭제 옛 버전 삭제 ```bash $ sudo yum remove docker \ docker-common \ docker-selinux \ docker-engine ``` 필수 패키지 설치 ```bash $ sudo yum install -y yum-utils device-mapper-persistent-data lvm2 # docker repo를 등록한다. $ sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo # yum package를 업데이트 $ sudo yum makecache fast ``` docker 설치 ```bash $ sudo yum install docker-ce $ docker --version $ Docker version 19.03.10, build 9424aeaee9 ``` Docker-compose 설치 ```bash $ curl -L https://github.com/docker/compose/releases/download/1.14.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose $ chmod +x /usr/local/bin/docker-compose # 설치 확인 $ docker-compose --version ```