Changes for page Install Docker for Linux
Last modified by Erik Bakker on 2025/04/18 13:54
From version 96.1
edited by Erik Bakker
on 2024/02/08 16:53
on 2024/02/08 16:53
Change comment:
There is no comment for this version
To version 94.1
edited by Erik Bakker
on 2024/02/08 16:46
on 2024/02/08 16:46
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -22,39 +22,16 @@ 22 22 ** controlplane.emagiz.com:8000 23 23 ** Preferably the entry should be *.emagiz.com 24 24 25 -===3.2 Installation Linux=== 26 -Whenever Linux is selected as operating system, the latest version of Ubuntu will work. Other Linux distributions will also work such as Debian or Red Hat. 27 - 28 -==== 3.2.1 Set up Docker's apt repository ==== 29 - 25 +===3.2 Installation requirements Linux=== 26 +Whenever Linux is selected as operating system, the latest version of Ubuntu will work. Other Linux distributions will also work such as Debian or Red Hat. 27 +**Step 1: Install linux distribution** 30 30 {{code language="cmd"}} 31 -# Add Docker's official GPG key: 32 -sudo apt-get update 33 -sudo apt-get install ca-certificates curl 34 -sudo install -m 0755 -d /etc/apt/keyrings 35 -sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc 36 -sudo chmod a+r /etc/apt/keyrings/docker.asc 37 - 38 -# Add the repository to Apt sources: 39 -echo \ 40 - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ 41 - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ 42 - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null 43 -sudo apt-get update 29 + curl -fsSL https://download.docker.com/linux/${ID}/gpg | sudo tee /etc/apt/trusted.gpg.d/docker.asc 30 + echo "deb [arch=amd64] https://download.docker.com/linux/${ID} ${VERSION_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/docker.list 31 + sudo apt update 32 + sudo apt install docker-ce docker-ce-cli containerd.io 44 44 {{/code}} 45 45 46 -==== 3.2.2 Install Docker ==== 47 - 48 -{{code language="cmd"}} 49 -sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 50 -{{/code}} 51 - 52 -==== 3.2.3 Verify succesfull installation of the Docker Engine ==== 53 - 54 -{{code language="cmd"}} 55 -sudo docker run hello-world 56 -{{/code}} 57 - 58 58 {{info}} 59 59 Requires ~335 Mb space to install 60 60 {{/info}} ... ... @@ -71,6 +71,5 @@ 71 71 == 5. Suggested Additional Readings == 72 72 73 73 * Docker command line cheatsheet: [[image:Main.Images.Microlearning.WebHome@docker-cheatsheet.png]] 74 -* [[Docker official installation guide>>https://docs.docker.com/engine/install/ubuntu/||target="blank"]] 75 75 76 76 )))((({{toc/}}))){{/container}}{{/container}}