- Mastering Docker Enterprise
- Mark Panthofer
- 255字
- 2025-04-04 14:48:22
Windows 2016 Docker Engine install
On our Docker Enterprise subnet, we install a Windows Server 2016 node and initiate a remote desktop session. Open a standard PowerShell Terminal to install the DockerMsftProvider module and then install the Docker package. For the latest information about installing Docker Enterprise on Windows Server, visit https://beta.docs.docker.com/install/windows/docker-ee/#use-a-script-to-install-docker-ee:
Install-Module DockerMsftProvider -Force
Install-Package Docker -ProviderName DockerMsftProvider -Force
In the following PowerShell block, we check to see whether a restart is necessary. If it is, we issue the Restart-Computer command to restart Windows 2016 Server:
(Install-WindowsFeature Containers).RestartNeeded Restart-Computer
After a possible restart, we log back in to the server and look at the docker info command to see that the Docker Enterprise version is installed as shown in following Figure 6.
For our setup, we should see an 18.09 server running on Windows kernel 10. The docker info command show a lot of useful details about the Docker Engine and can be really helpful for troubleshooting:
PS> docker info
Here's the output from the docker info command. Please note the highlighted versions:
