Smart Site Developers Knowledgebase

How to set up Docker and Docker Compose on Windows

Docker is a full development platform for creating containerized applications. There are a few way but Docker Desktop is the best way to get started with Docker on Windows.

What’s included in the installer

The Docker Desktop installation includes Docker Engine, Docker CLI client, Docker ComposeDocker Machine, and Kitematic.

Install Docker Desktop on Windows

  1. Double-click Docker Desktop Installer.exe to run the installer. If you haven’t already downloaded the installer (Docker Desktop Installer.exe), you can get it from Docker Hub. It typically downloads to your Downloads folder, or you can run it from the recent downloads bar at the bottom of your web browser. 
  2. Follow the instructions on the installation wizard to accept the license, authorize the installer, and proceed with the install.When prompted, authorize the Docker Desktop Installer with your system password during the install process. Privileged access is needed to install networking components, links to the Docker apps, and manage the Hyper-V VMs. 
  3. Click Finish on the setup complete dialog and launch the Docker Desktop application.

Start Docker Desktop

Docker Desktop does not start automatically after installation. To start Docker Desktop, search for Docker, and select Docker Desktop in the search results.

search for Docker app

When the whale icon in the status bar stays steady, Docker Desktop is up-and-running, and is accessible from any terminal window.

whale on taskbar

If the whale icon is hidden in the Notifications area, click the up arrow on the taskbar to show it. To learn more, see Docker Settings.

After installing the Docker Desktop app, you also get a pop-up success message with suggested next steps, and a link to this documentation.

Startup information

When initialization is complete, click the whale icon in the Notifications area and select About Docker Desktop to verify that you have the latest version.

Congratulations! You are successfully running Docker Desktop on Windows.

P.S.: Test your installation

  1. Open a terminal window (Command Prompt or PowerShell, but not PowerShell ISE).
  2. Run docker --version to ensure that you have a supported version of Docker.
  3. Run docker-compose --version to ensure that you have a supported version of Docker Compose.

Leave a Reply