Installing Docker and Compose on Windows Server

Let’s learn how to install Docker and Docker Compose on Windows server.

We'll cover the following

Docker

Most of the public cloud platforms offer off-the-shelf copies of Windows Server 2019 with Docker pre-installed. Simply choose one of these — such as Microsoft Windows Server 2019 Base with Containers - ami-0b809eef92577a4f1 on AWS — and you’re good to go.

Installing Docker on other versions of Windows Server 2019 is incredibly easy.

The following procedure assumes you’ve installed Windows Server 2019 and are logged on with administrator privileges.

  1. Install the Docker Provider

    Run this command from a PowerShell terminal.

Get hands-on with 1200+ tech skills courses.