Changes for page Install Docker for Linux
Last modified by Erik Bakker on 2025/04/18 13:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,5 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this microlearning, we will focus on how an on-premises ser vercanbe preparedfor a eMagizDeployagentnstallation.2 +In this microlearning, we will focus on how the installation requirements for on-premises deployments of eMagiz runtimes that are part of the new runtime architecture. The new runtime architecture uses a containerized approach to deploy runtimes. 3 3 4 4 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 ... ... @@ -11,11 +11,12 @@ 11 11 == 2. Key concepts == 12 12 In the new runtime architecture of eMagiz, Docker technology is used to deploy runtimes. eMagiz creates specific runtime images that contain the eMagiz runtime, and can be deployed in dockerized environments. 13 13 14 -In the below section the Windows andLinuxvariants are describedin termsofhowtoprepare theservertoallowthe eMagizDeployagent tobe installed. That agentallowstodownload imagesfromthe eMagizinfrastructure.14 +In the below section the specific operating systems and versions are discussed in a sense that the prerequisite installations are described. Once the right installation is done, refer to section 3.7 for the installation of the eMagiz agent that manages the interaction with the eMagiz platform. That agent will download the created docker images that will be deployed in the Docker environment. 15 15 16 16 == 3. On-premises deployments == 17 17 18 18 ===3.1 General requirements=== 19 + 19 19 These are the general requirements to allow the installation of the eMagiz Docker agent: 20 20 * Ensure access to the following URLs is enabled 21 21 ** registry.emagiz.com:8443 ... ... @@ -22,13 +22,15 @@ 22 22 ** controlplane.emagiz.com:8000 23 23 ** Preferably the entry should be *.emagiz.com 24 24 26 + 25 25 ===3.2 Installation requirements Linux=== 28 + 26 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 27 **Step 1: Install linux distribution** 28 28 Follow all steps in section 3.4 29 29 30 30 **Step 2: Install eMagiz Deploy Agent** 31 -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"]]34 +Install the eMagiz Deploy agent as can be found here 32 32 33 33 ===3.3 Installation requirements Windows Server 2022 === 34 34 ... ... @@ -66,21 +66,13 @@ 66 66 67 67 68 68 **Step 4: Auto start the linux subsystem when Windows server restarts ** 69 - 70 -{{code language="cmd"}} 71 -* Press Windows+R 72 -* Type shell:startup and press enter 73 -* Add or update file start_wsl.bat 74 -* Add following line into the document and save file 75 - * wsl sudo /usr/bin/dockerd 76 - {{/code}} 77 - 72 + 78 78 **Step 5: Install eMagiz Deploy Agent** 79 -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"]].74 +Install the eMagiz Deploy agent as can be found here 80 80 81 81 82 82 ===3.4 Installation steps to configure Linux subsystem === 83 - 78 + 84 84 **Step 1: Install Docker ** 85 85 86 86 {{code language="cmd"}} ... ... @@ -109,10 +109,6 @@ 109 109 110 110 **Step 3: Ensure Docker is autostarted with WSL ** 111 111 112 -{{info}} 113 -This remark is valid for Windows based installations only 114 -{{/info}} 115 - 116 116 {{code language="cmd"}} 117 117 nano .bashrc 118 118 ... ... @@ -134,29 +134,8 @@ 134 134 %docker ALL=(ALL) NOPASSWD: /usr/bin/dockerd 135 135 {{/code}} 136 136 137 - **Step5:EnsuresafeIP range for WSL **128 + 138 138 139 -{{info}} 140 -This remark is valid for Windows based installations only 141 -{{/info}} 142 - 143 -This step ensures that the IP address range of the machine doesn't conflict with any IP address of the Linux subsystem. Below the recommended values depending on the range which can be filled in the value <ip-address> below: 144 -* 10.0.0.1/8 145 - ** advised value 10.25.0.1/16 146 -* 172.16.0.1/12 147 - ** advised value 172.16.0.1/16 148 -* 192.168.0.1/16 149 - ** advised value 10.25.0.1/16 150 - 151 -{{code language="cmd"}} 152 -sudo nano /etc/docker/daemon.json 153 - 154 - #Add following lines 155 - 156 - {"bip": "<ip-address>"} 157 -{{/code}} 158 - 159 - 160 160 ===3.5 Installation requirements Windows Server 2019 version 1806=== 161 161 162 162 {{warning}}Please note that this section is under construction. Please contact us at productmanagement@emagiz.com{{/warning}} ... ... @@ -167,10 +167,7 @@ 167 167 ** Restart windows 168 168 * Cross check is WSL 2.0 is installed 169 169 ** Use this command to get WSL 2.0: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 170 -* Please follow the instructions for preparing a Windows 2022 installation in section 3.3 171 - 172 -{{info}} 173 - * Install Docker Desktop on the Windows Server 140 +* Install Docker Desktop on the Windows Server 174 174 ** Please refer to this link: https://www.docker.com/products/docker-desktop/ 175 175 ** Restart windows 176 176 * Update Docker Desktop configuration ... ... @@ -186,7 +186,6 @@ 186 186 * Open the ubuntu terminal, and finish the installation. 187 187 ** After installation, execute: export DOCKER_HOST=tcp://localhost:2375 188 188 * Go to the next section around installing the eMagiz Docker agent 189 -{{/info}} 190 190 191 191 ===3.6 Installation requirements Windows Server 2012 R2 === 192 192