ubuntu에서 docker compose 설치하기

814

ubuntu에서 docker를 설치하자 !!

  • apt 업데이트
apt update
apt-get remove docker docker-engine docker.io containerd runc
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

sudo apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
apt install curl
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

끝 !!

답글 남기기

이메일 주소는 공개되지 않습니다.