Docker desktop requires windows 10 pro/enterprise/home (18363+).

Estimated reading time: 4 minutes

Docker Enterprise Edition for Windows Server (Docker EE) enables native Docker containers on Windows Server. Windows Server 2016 and later versions are supported. The Docker EE installation package includes everything you need to run Docker on Windows Server. This topic describes pre-install considerations, and how to download and install Docker EE.

Looking for Release Notes? Get release notes for all versions here or subscribe to the releases feed on the Docker Blog.

Docker Universal Control Plane and Windows

With Docker EE, your Windows nodes can join swarms that are managed by Docker Universal Control Plane (UCP). When you have Docker EE installed on Windows Server 2016 and you have a UCP manager node provisioned, you can join your Windows worker nodes to a swarm.

Install Docker EE

Windows Server 1709

Docker Universal Control Plane is not currently supported on Windows Server 1709 due to image incompatibility issues. To use UCP, for now, use the current LTSB Windows release and not 1709.

Docker EE for Windows requires Windows Server 2016 or later. See What to know before you install for a full list of prerequisites.

  1. Open a PowerShell command prompt, and type the following commands.

    Install-Module DockerMsftProvider -Force
    Install-Package Docker -ProviderName DockerMsftProvider -Force
    
  2. Test your Docker EE installation by running the hello-world container.

    docker container run hello-world:nanoserver
    
    Unable to find image 'hello-world:nanoserver' locally
    nanoserver: Pulling from library/hello-world
    bce2fbc256ea: Pull complete
    3ac17e2e6106: Pull complete
    8cac44e17f16: Pull complete
    5e160e4d8db3: Pull complete
    Digest: sha256:25eac12ba40f7591969085ab3fb9772e8a4307553c14ea72d0e6f98b2c8ced9d
    Status: Downloaded newer image for hello-world:nanoserver
    
    Hello from Docker!
    This message shows that your installation appears to be working correctly.
    
    

(optional) Make sure you have all required updates

Some advanced Docker features, such as swarm mode, require the fixes included in KB4015217 (or a later cumulative patch).

sconfig

Select option 6) Download and Install Updates.

Use a script to install Docker EE

Use the following steps when you want to install manually, script automated installs, or install on air-gapped systems.

  1. In a PowerShell command prompt, download the installer archive on a machine that has a connection.

    # On an online machine, download the zip file.
    invoke-webrequest -UseBasicparsing -Outfile docker-17.06.2-ee-7.zip https://download.docker.com/components/engine/windows-server/17.06/docker-17.06.2-ee-7.zip
    
  2. Copy the zip file to the machine where you want to install Docker. In a PowerShell command prompt, use the following commands to extract the archive, register, and start the Docker service.

    # Extract the archive.
    Expand-Archive docker-17.06.2-ee-7.zip -DestinationPath $Env:ProgramFiles
    
    # Clean up the zip file.
    Remove-Item -Force docker-17.06.2-ee-7.zip
    
    # Install Docker. This requires rebooting.
    $null = Install-WindowsFeature containers
    
    # Add Docker to the path for the current session.
    $env:path += ";$env:ProgramFiles\docker"
    
    # Optionally, modify PATH to persist across sessions.
    $newPath = "$env:ProgramFiles\docker;" +
    [Environment]::GetEnvironmentVariable("PATH",
    [EnvironmentVariableTarget]::Machine)
    
    [Environment]::SetEnvironmentVariable("PATH", $newPath,
    [EnvironmentVariableTarget]::Machine)
    
    # Register the Docker daemon as a service.
    dockerd --register-service
    
    # Start the Docker service.
    Start-Service docker
    
  3. Test your Docker EE installation by running the hello-world container.

    docker container run hello-world:nanoserver
    

Install a specific version

To install a specific Docker version, you can use the MaximumVersion,MinimumVersion or RequiredVersion flags. For example:

Install-Package -Name docker -ProviderName DockerMsftProvider -Force -RequiredVersion 17.06.2-ee-5
...
Name                           Version          Source           Summary
----                           -------          ------           -------
Docker                         17.06.2-ee-5       Docker           Contains Docker EE for use with Windows Server 2016...

Update Docker EE

To update Docker EE on Windows Server 2016:

Install-Package -Name docker -ProviderName DockerMsftProvider -Update -Force

If Docker Universal Control Plane (UCP) is installed, run the UCP installation script for Windows.

Start the Docker service:

Start-Service Docker

What to know before you install

  • What the Docker EE for Windows install includes: The installation provides Docker Engine and the Docker CLI client.

About Docker EE containers and Windows Server

Looking for information on using Docker EE containers?

  • Getting Started with Windows Containers (Lab) provides a tutorial on how to set up and run Windows containers on Windows 10 or Windows Server 2016. It shows you how to use a MusicStore application with Windows containers.

  • Setup - Windows Server 2016 (Lab) describes environment setup in detail.

  • Docker Container Platform for Windows Server articles and blog posts on the Docker website.

Where to go next

  • Getting started provides an overview of Docker for Windows, basic Docker command examples, how to get help or give feedback, and links to all topics in the Docker for Windows guide.

  • FAQs provides answers to frequently asked questions.

  • Release Notes lists component updates, new features, and improvements associated with Stable and Edge releases.

  • Learn Docker provides general Docker tutorials.

  • Windows Containers on Windows Server is the official Microsoft documentation.

Windows, Windows Server, install, download, ucp, Docker EE

Is Windows 10 Pro required for Docker?

Windows 10 and 11 You can install Docker on Windows 10 or 11 Professional and Enterprise editions by using the following steps. Download and install Docker Desktop and create a Docker account if you don't already have one.

Does Docker Desktop work on Windows 10 home?

If you are running Windows 10 Home (starting with version 1903), you can install Docker Desktop for Windows with the WSL 2 backend.

Can Docker run on Windows 10 pro?

Docker for Windows runs on 64-bit Windows 10 Pro, Enterprise, and Education; 1511 November update, Build 10586 or later. Docker plans to support more versions of Windows 10 in the future.

Is Docker Desktop Enterprise free?

Docker Desktop is licensed as part of a free (Personal) or paid Docker subscription (Pro, Team or Business). Docker Desktop may be used for free as part of a Docker Personal subscription for: Small companies (fewer than 250 employees AND less than $10 million in annual revenue) Personal use.