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,11 +66,17 @@ 66 66 67 67 68 68 **Step 4: Auto start the linux subsystem when Windows server restarts ** 69 - 70 - wsl sudo /usr/bin/dockerd 71 - 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 72 **Step 5: Install eMagiz Deploy Agent** 73 -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"]]. 74 74 75 75 76 76 ===3.4 Installation steps to configure Linux subsystem === ... ... @@ -124,8 +124,29 @@ 124 124 %docker ALL=(ALL) NOPASSWD: /usr/bin/dockerd 125 125 {{/code}} 126 126 127 - 133 +**Step 5: Ensure safe IP range for WSL ** 128 128 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 141 + ** advised value 10.25.0.1/16 142 +* 172.16.0.1/12 143 + ** advised value 172.16.0.1/16 144 +* 192.168.0.1/16 145 + ** advised value 10.25.0.1/16 146 + 147 +{{code language="cmd"}} 148 +sudo nano /etc/docker/daemon.json 149 + 150 + #Add following lines 151 + 152 + {"bip": "<ip-address>"} 153 +{{/code}} 154 + 155 + 129 129 ===3.5 Installation requirements Windows Server 2019 version 1806=== 130 130 131 131 {{warning}}Please note that this section is under construction. Please contact us at productmanagement@emagiz.com{{/warning}} ... ... @@ -136,7 +136,10 @@ 136 136 ** Restart windows 137 137 * Cross check is WSL 2.0 is installed 138 138 ** Use this command to get WSL 2.0: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 139 -* Install Docker Desktop on the Windows Server 166 +* Please follow the instructions for preparing a Windows 2022 installation in section 3.3 167 + 168 +{{info}} 169 + * Install Docker Desktop on the Windows Server 140 140 ** Please refer to this link: https://www.docker.com/products/docker-desktop/ 141 141 ** Restart windows 142 142 * Update Docker Desktop configuration ... ... @@ -152,6 +152,7 @@ 152 152 * Open the ubuntu terminal, and finish the installation. 153 153 ** After installation, execute: export DOCKER_HOST=tcp://localhost:2375 154 154 * Go to the next section around installing the eMagiz Docker agent 185 +{{/info}} 155 155 156 156 ===3.6 Installation requirements Windows Server 2012 R2 === 157 157