Changes for page Install Docker for Linux

Last modified by Erik Bakker on 2025/04/18 13:54

From version 36.1
edited by eMagiz
on 2023/01/18 10:33
Change comment: There is no comment for this version
To version 39.1
edited by Erik Bakker
on 2023/01/23 12:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.eMagiz
1 +XWiki.ebakker
Content
... ... @@ -27,19 +27,18 @@
27 27  ===3.2 Installation requirements Linux===
28 28  
29 29  * Whenever Linux is selected as operating system, the latest version of Ubuntu will work
30 -* Install latest version of the Docker engine - see for instance https://docs.docker.com/engine/install/ubuntu/
30 +* Install latest version of the Docker engine - see for instance {{code}}https://docs.docker.com/engine/install/ubuntu/{{/code}}
31 31  * Go to the next section around installing the eMagiz agent
32 32  
33 33  ===3.3 Installation requirements Windows Server 2022===
34 34  
35 35  These are the requirements to allow the installation of the eMagiz Docker agent:
36 -* Install latest version of Docker Desktop from https://www.docker.com/products/docker-desktop/
36 +* Install latest version of Docker Desktop from {{code}}https://www.docker.com/products/docker-desktop/{{/code}}
37 37  * Validate if WSL 2.0 is properly installed
38 38  * Go to the next section around installing the eMagiz Docker agent
39 -
40 -
41 -
39 +
42 42   #Install docker
41 +{{code}}
43 43  sudo apt-get update
44 44  sudo apt install --no-install-recommends apt-transport-https ca-certificates curl gnupg2
45 45  . /etc/os-release
... ... @@ -46,16 +46,17 @@
46 46  curl -fsSL https://download.docker.com/linux/${ID}/gpg | sudo tee /etc/apt/trusted.gpg.d/docker.asc
47 47  echo "deb [arch=amd64] https://download.docker.com/linux/${ID} ${VERSION_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/docker.list
48 48  sudo apt update
48 +sudo apt install docker-ce docker-ce-cli containerd.io{{/code}}
49 49  
50 -sudo apt install docker-ce docker-ce-cli containerd.io
51 -
52 52  #Install Java
51 +{{code language="unix"}}
53 53  wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add -
54 54  echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list
55 55  sudo apt update # update if you haven't already
56 -sudo apt install temurin-8-jdk
55 +sudo apt install temurin-8-jdk{{/code}}
57 57  
58 58  #Autostart Dockerd with wsl
58 +
59 59  nano .bashrc
60 60  
61 61   DOCKER_DISTRO="Ubuntu"
... ... @@ -133,6 +133,8 @@
133 133  === 3.7 eMagiz Docker agent installation ===
134 134  
135 135  eMagiz needs to install a specific agent in the Docker instance that allows to download runtime images that needs to be installed on the Docker instance. The specific command to run inside the Docker instance is specific for the machine that is configured inside eMagiz Design & Deploy Architectures. It can be found inside the eMagiz iPaaS portal under Deploy Architecture. At the runtime connector, there is a right click option called Deploy Agent. That presents either the command or the location where that agent is installed.
136 +
137 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]]
136 136  
137 137  After installing the agent, you can use the Docker cheat sheet below to see if the docker containers are running and/or images are available.
138 138