우분투22 인스턴스에 사용한 도커설치 방법입니다.
os: 우분투22.04.3LTS aarch64
arm환경에서 도커 설치
##1
sudo apt-get update
##2
sudo apt-get install apt-transport-https \
ca-certificates \
curl \
software-properties-common
##3
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
##4
sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
##5
sudo apt-get update
##6
sudo apt-get install docker-ce
https://iamjjanga.tistory.com/41
os: 우분투22.04.3LTS x86_64
x86_64 아키텍쳐에 도커 설치
##1
sudo apt-get update
##2
sudo apt-get install apt-transport-https \
ca-certificates \
curl \
software-properties-common
##3
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
##4
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
##5
sudo apt-get update
##6
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo apt-get update && \
sudo apt-get 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 $(lsb_release -cs) stable" && \
sudo apt-get update && \
sudo apt-get install docker-ce docker-ce-cli containerd.io