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

From FriendlyELEC WiKi
Jump to: navigation, search
(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...")
 
(updated by API)
 
(One intermediate revision by the same user not shown)
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/bionic/pool/stable/arm64/containerd.io_1.2.4-1_arm64.deb
+
sudo apt-get update
wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/arm64/docker-ce-cli_18.09.3~3-0~ubuntu-bionic_arm64.deb
+
sudo apt-get install docker.io
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
+
 
</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