설치 환경
- Ubuntu Groovy 20.10
- Ubuntu Focal 20.04
- Ubuntu Bionic 18.04
- Ubuntu Xenial 16.04
Docker 엔진은 현제 amd64, armhf, 와 arm64 를 지원한다.
- 오래된 버전 제거 (이전에 설치한 적이 없으면 이단계는 건너 뛴다.
$sudo apt-get remove docker docker-engine docker.io containerd runc
Code language: JavaScript (javascript)
- 설치
$sudo apt-get update
$sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
$curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
$echo \
"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Code language: PHP (php)
참조 https://docs.docker.com/engine/install/ubuntu/