Changes for page Install Docker for Windows
Last modified by Erik Bakker on 2025/04/18 13:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -28,7 +28,7 @@ 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 [[on this link>>https://docs.emagiz.com/bin/view/Main/eMagiz%20Academy/Microlearnings/Intermediate%20Level/eMagiz%20Runtime%20Management/intermediate-runtime-management-deploy-agent/||target="_blank"]]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"]] 32 32 33 33 ===3.3 Installation requirements Windows Server 2022 === 34 34 ... ... @@ -66,9 +66,17 @@ 66 66 67 67 68 68 **Step 4: Auto start the linux subsystem when Windows server restarts ** 69 - 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 + 70 70 **Step 5: Install eMagiz Deploy Agent** 71 -Install the eMagiz Deploy agent as can be found [[on this link>>https://docs.emagiz.com/bin/view/Main/eMagiz%20Academy/Microlearnings/Intermediate%20Level/eMagiz%20Runtime%20Management/intermediate-runtime-management-deploy-agent/||target="_blank"]]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"]]. 72 72 73 73 74 74 ===3.4 Installation steps to configure Linux subsystem === ... ... @@ -122,8 +122,26 @@ 122 122 %docker ALL=(ALL) NOPASSWD: /usr/bin/dockerd 123 123 {{/code}} 124 124 125 - 133 +**Step 5: Ensure safe IP range for WSL ** 126 126 135 +{{info}} 136 +This remark is valid for Windows based installations only 137 +{{/info}} 138 + 139 +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: 140 +* 10.0.0.1/8 - use 10.25.0.1/16 141 +* 172.16.0.1/12 - use 172.16.0.1/16 142 +* 192.168.0.1/16 - use 10.25.0.1/16 143 + 144 +{{code language="cmd"}} 145 +sudo nano /etc/docker/daemon.json 146 + 147 + #Add following lines 148 + 149 + {"bip": "<ip-address>"} 150 +{{/code}} 151 + 152 + 127 127 ===3.5 Installation requirements Windows Server 2019 version 1806=== 128 128 129 129 {{warning}}Please note that this section is under construction. Please contact us at productmanagement@emagiz.com{{/warning}} ... ... @@ -134,7 +134,10 @@ 134 134 ** Restart windows 135 135 * Cross check is WSL 2.0 is installed 136 136 ** Use this command to get WSL 2.0: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 137 -* Install Docker Desktop on the Windows Server 163 +* Please follow the instructions for preparing a Windows 2022 installation in section 3.3 164 + 165 +{{info}} 166 + * Install Docker Desktop on the Windows Server 138 138 ** Please refer to this link: https://www.docker.com/products/docker-desktop/ 139 139 ** Restart windows 140 140 * Update Docker Desktop configuration ... ... @@ -150,6 +150,7 @@ 150 150 * Open the ubuntu terminal, and finish the installation. 151 151 ** After installation, execute: export DOCKER_HOST=tcp://localhost:2375 152 152 * Go to the next section around installing the eMagiz Docker agent 182 +{{/info}} 153 153 154 154 ===3.6 Installation requirements Windows Server 2012 R2 === 155 155