오늘만살자
18.04 docker 설치 본문
sudo apt-get -y update
sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common wget
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get -y install docker-ce docker-ce-cli containerd.io
sudo curl -L https://github.com/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
'Docker' 카테고리의 다른 글
docker swarm Monitoring (0) | 2020.04.23 |
---|---|
ingress 지웠을 경우 (0) | 2020.03.17 |
docker machine info (0) | 2020.03.04 |
codeserver install (0) | 2020.02.18 |
docker swam stack 올리기 (0) | 2020.02.12 |
Comments