Template:RK3399-Linux-Install-Docker

From FriendlyARM WiKi
Jump to: navigation, search

1 How to install and use docker

1.1 How to Install Docker

Run the following commands:

wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/arm64/containerd.io_1.2.4-1_arm64.deb
wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/arm64/docker-ce-cli_18.09.3~3-0~ubuntu-bionic_arm64.deb
wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/arm64/docker-ce_18.09.3~3-0~ubuntu-bionic_arm64.deb
sudo dpkg -i containerd.io_1.2.4-1_arm64.deb
sudo dpkg -i docker-ce-cli_18.09.3~3-0~ubuntu-bionic_arm64.deb
sudo dpkg -i docker-ce_18.09.3~3-0~ubuntu-bionic_arm64.deb

1.2 Test Docker installation

Test that your installation works by running the simple docker image:

git clone https://github.com/friendlyarm/debian-jessie-aarch64-docker
cd debian-jessie-aarch64-docker
./rebuild-image.sh
./run.sh