Odroid-C2 (or ARM64)에 Docker 설치하기
Beyond Here
Environment
Device : Odroid-C2
OS : Ubuntu-20.04
1. Docker Engine 설치
1) 구버전 삭제
$ sudo apt remove docker docker-engine docker.io containerd runc
2) Docker Repository 추가
$ sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt-key fingerprint 0EBFCD88
$ sudo apt update
3) Docker Engine 설치
$ sudo apt install docker-ce docker-ce-cli containerd.io -y
$ sudo usermod -aG docker $USER
4) Docker Engine 검증
$ sudo docker run hello-world
2. Docker Compose 설치
$ sudo apt install python3-pip libffi-dev -y
$ sudo pip3 install docker-compose