Difference between revisions of "Template:H3-Linux-Install-Docker"
From FriendlyELEC WiKi
(Created page with "===How to install and use docker=== ====How to Install Docker==== Run the following commands:<br /> <syntaxhighlight lang="bash"> wget https://download.docker.com/linux/ubun...") |
(→How to install and use docker) |
||
Line 3: | Line 3: | ||
Run the following commands:<br /> | Run the following commands:<br /> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | wget https://download.docker.com/linux/ubuntu/dists/ | + | 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/ | + | 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/ | + | 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. | + | sudo dpkg -i containerd.io_1.2.6-3_armhf.deb |
− | sudo dpkg -i docker-ce- | + | sudo dpkg -i docker-ce-cli_19.03.1~3-0~ubuntu-xenial_armhf.deb |
− | sudo dpkg -i docker- | + | sudo dpkg -i docker-ce_19.03.1~3-0~ubuntu-xenial_armhf.deb |
</syntaxhighlight> | </syntaxhighlight> | ||
====Test Docker installation==== | ====Test Docker installation==== |
Revision as of 11:17, 20 August 2019
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