Changes for page Install Docker for Windows
Last modified by Erik Bakker on 2026/01/23 13:45
From version 142.1
edited by Erik Bakker
on 2026/01/23 12:50
on 2026/01/23 12:50
Change comment:
There is no comment for this version
To version 140.1
edited by Erik Bakker
on 2025/04/18 13:54
on 2025/04/18 13:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -17,14 +17,12 @@ 17 17 18 18 ===3.1 General requirements=== 19 19 20 -{{info}}It is advised to use Docker version 24.0.7 as this is the version being used in the latest eMagiz cloud template. We advise aligning the on-premise Docker version and updating it according to the release notes of the [[Cloud templates>>doc:Main.Release Information.Cloud Templates.WebHome||target="blank"]]. 21 -{{/info}} 22 - 23 23 {{info}} 24 24 * Standard configuration to ensure that communication between your server and eMagiz to ensure communication. 25 25 ** registry.emagiz.com:443 26 26 ** controlplane.emagiz.com:443 27 - ** controlplane-agent.emagiz.com:443 24 + ** controlplane.emagiz.com:8000 25 + ** controlplane-agent.emagiz.com:8000 28 28 ** controltower.emagiz.com:443 29 29 ** controltower.kpn-dsh.com:443 30 30 ** controlbus.emagiz.com:443 ... ... @@ -49,13 +49,12 @@ 49 49 ** 18.184.211.189 50 50 ** 3.123.136.31{{/warning}} 51 51 52 - 53 - 54 54 ===3.2 Installation Windows=== 55 -When Windows is selected as theoperating system, you need Windows Server 2022. Older Windows servers are **not** supported.51 +Whenever Windows is selected as operating system, you need to have a Windows Server 2022 version. Older Windows servers are **not** supported. 56 56 53 + 57 57 ==== 3.2.1 Docker Installation ==== 58 -To install Docker on your machine, execute the following commands inPowerShell with administrative rights:55 +To install or update docker on your machine, execute the following commands in powershell with administrative rights: 59 59 60 60 {{code language="cmd"}} 61 61 Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/emagiz/windows-support/main/Install-update-docker/install-update-docker.ps1" -o install-update-docker-ce.ps1 ... ... @@ -62,35 +62,38 @@ 62 62 .\install-update-docker-ce.ps1 -DockerVersion DESIRED_VERSION 63 63 {{/code}} 64 64 62 +{{info}}It is advised to use Docker version 24.0.7 as this is the version being used in the latest eMagiz cloud template. We advise to align the on-premise Docker version and update it according to the release notes of the [[Cloud templates>>doc:Main.Release Information.Cloud Templates.WebHome||target="blank"]]. 63 +{{/info}} 64 + 65 65 ==== 3.2.2 Customization ==== 66 66 67 -After installing Docker ,youcan stick with the standard configuration oradjust specific settings. Settings that can be of particular interestinclude theone that defines the IP address range your Docker installation will use to run containers,and theone that defines where to store data (i.e.,containers and images). To check the full list of compatible configuration options for Windows,you can check: [[Configure Docker in Windows>>https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon||target="blank"]].67 +After installing Docker you have the option to stick with the standard configuration of Docker or you can opt to alter some specific settings. Settings that can be of particular interest are the setting that defines the IP address range your Docker installation will use to run the containers and the setting that defines where to store data (i.e. containers and images). To check the full list of compatible configuration options for Windows you can check: [[Configure Docker in Windows>>https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon||target="blank"]]. 68 68 69 69 {{warning}}Be aware that the customization will only take effect once you have restarted the machine.{{/warning}} 70 70 71 71 ===== 3.2.2.1 IP address range ===== 72 72 73 -Below i sthe code neededto configure a different IP address range.73 +Below you can find the code necessary to configure a different IP address range. 74 74 75 75 {{code language="cmd"}} 76 76 cd C:\ProgramData\Docker\config\daemon.json 77 -#Add thefollowing lines77 +#Add following lines 78 78 {"fixed-cidr": "<ip-address>"} 79 79 {{/code}} 80 80 81 81 ===== 3.2.2.2 Data location ===== 82 82 83 -Below i san example of switching from the default C directory ({{code language="cmd"}}c:\programdata\docker{{/code}}) to the D directory to store Dockerdata. Based on your internal configuration,you can choose the best suitable variant if needed. To do so,you can add the following attribute to the Docker daemon file:83 +Below you can find an example of switching from the default C directory ({{code language="cmd"}}c:\programdata\docker{{/code}}) to the D directory to store data related to Docker. Based on your internal configuration you can choose the best suitable variant if that is needed. To do so you can add the following attribute to the Docker daemon file: 84 84 85 85 {{code language="cmd"}} 86 86 cd C:\ProgramData\Docker\config\daemon.json 87 -#Add thefollowing lines87 +#Add following lines 88 88 { 89 89 "data-root": "d:\\docker" 90 90 } 91 91 {{/code}} 92 92 93 -{{warning}}Note that when you want to create multiple customizations to your configuration ,the result in the daemon.json file should be a **valid** JSON structure{{/warning}}93 +{{warning}}Note that when you want to create multiple customizations to your configuration the result in the daemon.json file should be a **valid** JSON structure{{/warning}} 94 94 95 95 ==== 3.2.3 Check installation ==== 96 96 ... ... @@ -100,13 +100,13 @@ 100 100 docker ps 101 101 {{/code}} 102 102 103 -If the command returns "command not found,"please run the following command again.103 +If the command returns that the command cannot be found, please run the following command again. 104 104 105 105 {{code language="cmd"}} 106 106 .\install-update-docker-ce.ps1 -DockerVersion DESIRED_VERSION 107 107 {{/code}} 108 108 109 -==== 3.2.3 Verify Docker functionality ====109 +==== 3.2.3 Verify docker functionality ==== 110 110 111 111 Execute the following command 112 112 ... ... @@ -120,25 +120,12 @@ 120 120 121 121 ==== 3.2.4 Install eMagiz Deploy Agent ==== 122 122 123 -Install the eMagiz Deploy agent as described in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-runtime-management-deploy-agent.WebHome||target="blank"]]123 +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"]] 124 124 125 -=== =3.3 UpdateDocker====126 - When youare advisedto updateyour Dockerversion,youcan verifywhether youare on thecorrect Docker versionbyexecutingthe following command inPowerShell with administrative rights:125 +===3.3 Uninstall Docker=== 126 +To uninstall docker from your machine, execute the following commands in powershell with administrative rights: 127 127 128 128 {{code language="cmd"}} 129 -docker version 130 -{{/code}} 131 - 132 -When this returns a version **lower** than the advised version shown below, you can update Docker on your machine. To do so, execute the following command in PowerShell with administrative rights: 133 - 134 -{{code language="cmd"}} 135 -.\install-update-docker-ce.ps1 -DockerVersion DESIRED_VERSION 136 -{{/code}} 137 - 138 -===3.4 Uninstall Docker=== 139 -To uninstall Docker from your machine, execute the following commands in PowerShell with administrative rights: 140 - 141 -{{code language="cmd"}} 142 142 Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/emagiz/windows-support/main/Uninstall-docker/uninstall-docker.ps1" -o uninstall-docker-ce.ps1 143 143 {{/code}} 144 144 ... ... @@ -150,9 +150,9 @@ 150 150 151 151 == 4. Key takeaways == 152 152 153 -* eMagiz uses runtime images to deploy theeMagiz runtime onDockerized environments. The runtime image holds all the information and components required to run the runtime140 +* eMagiz uses runtime images to deploy emagiz runtime on dockerized environments. The runtime image holds all the information and components required to run the runtime 154 154 * eMagiz has a specific agent that manages the download of that image to the on-premises server 155 -* The firewall of the on-premises environment should allow outgoing traffic without any restriction s. Ifthat is not desirable, eMagiz can provide the addresses and ports needed to setup theappropriatefirewall rules.142 +* The firewall of the on-premises environment should allow outgoing traffic without any restriction. In case that is not desirable, eMagiz can provide the addresses and ports needed to setup the right firewall rules. 156 156 157 157 == 5. Suggested Additional Readings == 158 158