Changes for page Install Docker for Linux
Last modified by Erik Bakker on 2025/04/18 13:54
From version 97.1
edited by Erik Bakker
on 2024/02/08 17:04
on 2024/02/08 17:04
Change comment:
There is no comment for this version
To version 95.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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Install Docker for Linux1 +Install Docker For Linux - Content
-
... ... @@ -22,45 +22,22 @@ 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. 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** 27 27 28 -==== 3.2.1 Set up Docker's apt repository ==== 29 - 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 30 + curl -fsSL https://download.docker.com/linux/${ID}/gpg | sudo tee /etc/apt/trusted.gpg.d/docker.asc 31 + echo "deb [arch=amd64] https://download.docker.com/linux/${ID} ${VERSION_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/docker.list 32 + sudo apt update 33 + 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}} 61 61 62 -==== 3.2.4 Install eMagiz Deploy Agent ==== 63 - 40 +**Step 2: Install eMagiz Deploy Agent** 64 64 Install the eMagiz Deploy agent as can be found in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-runtime-management-deploy-agent.WebHome||target="blank"]] 65 65 66 66 == 4. Key takeaways == ... ... @@ -72,6 +72,5 @@ 72 72 == 5. Suggested Additional Readings == 73 73 74 74 * Docker command line cheatsheet: [[image:Main.Images.Microlearning.WebHome@docker-cheatsheet.png]] 75 -* [[Docker official installation guide>>https://docs.docker.com/engine/install/ubuntu/||target="blank"]] 76 76 77 77 )))((({{toc/}}))){{/container}}{{/container}}