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
-
... ... @@ -68,14 +68,13 @@ 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 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"]]. 81 81 ... ... @@ -131,8 +131,26 @@ 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 +{{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 + 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 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 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 182 +{{/info}} 162 162 163 163 ===3.6 Installation requirements Windows Server 2012 R2 === 164 164