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 in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-runtime-management-deploy-agent.WebHome||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 ... ... @@ -68,16 +68,15 @@ 68 68 **Step 4: Auto start the linux subsystem when Windows server restarts ** 69 69 70 70 {{code language="cmd"}} 71 -Press Windows+R 72 -Type shell:startup and press enter 73 - 74 - wslsudo/usr/bin/dockerd75 - 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 76 {{/code}} 77 77 78 - 79 79 **Step 5: Install eMagiz Deploy Agent** 80 -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"]. 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"]]. 81 81 82 82 83 83 ===3.4 Installation steps to configure Linux subsystem === ... ... @@ -131,8 +131,19 @@ 131 131 %docker ALL=(ALL) NOPASSWD: /usr/bin/dockerd 132 132 {{/code}} 133 133 134 - 133 +**Step 5: Ensure safe IP range for WSL ** 135 135 135 +This step ensure that the IP address range of the machine doesn't conflict with IP address of the Linux subsystem. This remark is valid for Windows based installations only. 136 + 137 +{{code language="cmd"}} 138 +sudo nano /etc/docker/daemon.json 139 + 140 + #Add following lines 141 + 142 + {"bip": "10.25.0.1/16"} 143 +{{/code}} 144 + 145 + 136 136 ===3.5 Installation requirements Windows Server 2019 version 1806=== 137 137 138 138 {{warning}}Please note that this section is under construction. Please contact us at productmanagement@emagiz.com{{/warning}} ... ... @@ -143,7 +143,10 @@ 143 143 ** Restart windows 144 144 * Cross check is WSL 2.0 is installed 145 145 ** Use this command to get WSL 2.0: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 146 -* Install Docker Desktop on the Windows Server 156 +* Please follow the instructions for preparing a Windows 2022 installation in section 3.3 157 + 158 +{{info}} 159 + * Install Docker Desktop on the Windows Server 147 147 ** Please refer to this link: https://www.docker.com/products/docker-desktop/ 148 148 ** Restart windows 149 149 * Update Docker Desktop configuration ... ... @@ -159,6 +159,7 @@ 159 159 * Open the ubuntu terminal, and finish the installation. 160 160 ** After installation, execute: export DOCKER_HOST=tcp://localhost:2375 161 161 * Go to the next section around installing the eMagiz Docker agent 175 +{{/info}} 162 162 163 163 ===3.6 Installation requirements Windows Server 2012 R2 === 164 164