Difference between revisions of "Template:H3-Linux-Install-Docker"

From FriendlyELEC WiKi
Jump to: navigation, search
(How to install and use docker)
(updated by API)
 
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/xenial/pool/stable/armhf/containerd.io_1.2.6-3_armhf.deb
+
sudo apt-get update
wget https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/armhf/docker-ce-cli_19.03.1~3-0~ubuntu-xenial_armhf.deb
+
sudo apt-get install docker.io
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
+
 
</syntaxhighlight>
 
</syntaxhighlight>
 
====Test Docker installation====
 
====Test Docker installation====

Latest revision as of 10:52, 21 August 2019

1 How to install and use docker

1.1 How to Install Docker

Run the following commands:

sudo apt-get update
sudo apt-get install docker.io

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