공부중
[docker] 도커 설치 본문
728x90
ubuntu 20.04
wsl2
sudo apt update
sudo apt install docker.io
$ docker --version
Docker version 24.0.7, build 24.0.7-0ubuntu2~20.04.1
docker-compose: command not found
sudo curl -L "<https://github.com/docker/compose/releases/download/v2.12.2/docker-compose-$>(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Docker Compose version v2.12.2
728x90