본문 바로가기
Linux

[Docker] Ubuntu18.04 도커 + 도커 컴포즈 설치

by YoYoHa 2021. 11. 22.
728x90
반응형
- 유틸 설치
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common



- 도커 다운로드
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 bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
service docker start or systemctl start docker



- 도커 컴포즈 다운로드
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
728x90
반응형

댓글