Install Docker CE runtime on Windows Server

Docker Community Edition (CE) provides a standard runtime environment for containers with a common API and command-line interface (CLI). It is managed by the open-source community as part of the Moby Project.

Requirements

  • Internet connection
  • Process

To get started with Docker on Windows Server Microsoft have created a PowerShell script which configures your environment to enable container-related OS features and install the Docker runtime.

The server is automatically reboot when the script is run.

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
.\install-docker-ce.ps1

After the installation script has completed, you can verify the installation by running

docker --version

References

Install Docker CE oInstall Docker CE on Windows Servern Windows Server

Last modified July 21, 2024: update (e2ae86c)