Template:H3-Linux-Install-Docker

From FriendlyELEC WiKi
Revision as of 11:17, 20 August 2019 by Tzs (Talk | contribs) (How to install and use docker)

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/xenial/pool/stable/armhf/containerd.io_1.2.6-3_armhf.deb
wget https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/armhf/docker-ce-cli_19.03.1~3-0~ubuntu-xenial_armhf.deb
wget https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/armhf/docker-ce_19.03.1~3-0~ubuntu-xenial_armhf.deb
sudo dpkg -i containerd.io_1.2.6-3_armhf.deb
sudo dpkg -i docker-ce-cli_19.03.1~3-0~ubuntu-xenial_armhf.deb
sudo dpkg -i docker-ce_19.03.1~3-0~ubuntu-xenial_armhf.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-arm-docker
cd debian-jessie-arm-docker
./rebuild-image.sh
./run.sh