Install Docker for Windows
Estimated reading time: 7 minutesDocker for Windows is a Docker Community Edition
(CE) app. The Docker for Windows
install package includes everything you need to run Docker on a Windows system.
This topic describes pre-install considerations, and how to download and install
Docker for Windows.
Already have Docker for Windows? If you already have Docker for Windows installed, and are ready to get started, skip to Get started with Docker for Windows for a quick tour of the command line, settings, and tools.
Looking for Release Notes? Get release notes for all versions here.
Download Docker for Windows
If you have not already done so, please install Docker for Windows. You can download installers from the Stable or Edge channel.
Both Stable and Edge installers come with experimental features in Docker Engine enabled by default. Experimental mode can be toggled on and off in preferences.
We welcome your feedback to help us improve Docker for Windows.
For more about Stable and Edge channels, see the FAQs.
Stable channel | Edge channel |
---|---|
Stable is the best channel to use if you want a reliable platform to work with. Stable releases track the Docker platform stable releases. On this channel, you can select whether to send usage statistics and other data. Stable releases happen once per quarter. |
Use the Edge channel if you want to get experimental features faster, and can weather some instability and bugs. We collect usage data on Edge releases. Edge builds are released once per month. |
Get Docker for Windows (Stable) | Get Docker for Windows (Edge) |
Checksum: Stable installer SHA256 | Checksum: Edge installer SHA256 |
-
Legacy (
.msi
) installers are available for Edge and Stable channels. -
The Docker for Windows is designed to configure Docker development environments on Windows 10 and on Windows Server 2016. You can develop both Docker Linux containers and Docker Windows containers with Docker for Windows. To run Docker Windows containers in production, see instructions for installing Docker EE on Windows Server 2016. To run Docker Linux containers in production, see instructions for installing Docker on Linux.
-
Docker for Windows requires 64bit Windows 10 Pro with Hyper-V available. Please see What to know before you install for a full list of prerequisites.
-
You can switch between Edge and Stable versions, but you can only have one app installed at a time. Also, you will need to save images and export containers you want to keep before uninstalling the current version before installing another. For more about this, see the FAQs about Stable and Edge channels.
What to know before you install
If your system does not meet the requirements to run Docker for Windows, you can install Docker Toolbox, which uses Oracle Virtual Box instead of Hyper-V.
- README FIRST for Docker Toolbox and Docker Machine users: Docker for Windows requires Microsoft Hyper-V to run. The Docker for Windows installer will enable Hyper-V for you, if needed, and restart your machine. After Hyper-V is
enabled, VirtualBox will no longer work, but any VirtualBox VM images will
remain. VirtualBox VMs created with
docker-machine
(including thedefault
one typically created during Toolbox install) will no longer start. These VMs cannot be used side-by-side with Docker for Windows. However, you can still usedocker-machine
to manage remote VMs.
- Virtualization must be enabled. Typically, virtualization is enabled by default. (Note that this is different from having Hyper-V enabled.) For more detail see Virtualization must be enabled in Troubleshooting.
- The current version of Docker for Windows runs on 64bit Windows 10 Pro, Enterprise and Education (1607 Anniversary Update, Build 14393 or later). In the future we will support more versions of Windows 10.
- Containers and images created with Docker for Windows are shared between all user accounts on machines where it is installed. This is because all Windows accounts will use the same VM to build and run containers. In the future, Docker for Windows will better isolate user content.
- Nested virtualization scenarios, such as running Docker for Windows on a VMWare or Parallels instance, might work, but come with no guarantees (i.e., not officially supported). For more information, see Running Docker for Windows in nested virtualization scenarios
- What the Docker for Windows install includes: The installation provides Docker Engine, Docker CLI client, Docker Compose, Docker Machine, and Kitematic.
About Windows containers and Windows Server 2016
Looking for information on using Windows containers?
- Switch between Windows and Linux containers describes the Linux / Windows containers toggle in Docker for Windows and points you to the tutorial mentioned above.
- Getting Started with Windows Containers (Lab) provides a tutorial on how to set up and run Windows containers on Windows 10 or with Windows Server 2016. It shows you how to use a MusicStore application with Windows containers.
- Setup - Windows Server 2016 (Lab) specifically describes environment setup.
- Docker Container Platform for Windows Server 2016 articles and blog posts on the Docker website
Install Docker for Windows
-
Double-click Docker for Windows Installer.exe to run the installer.
If you haven’t already downloaded the installer (
Docker for Windows Installer.exe
), you can get it from download.docker.com. It typically downloads to yourDownloads folder
, or you can run it from the recent downloads bar at the bottom of your web browser. -
Follow the install wizard to accept the license, authorize the installer, and proceed with the install.
You will be asked to authorize
Docker.app
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. -
Click Finish on the setup complete dialog to launch Docker.
Start Docker for Windows
Docker will not start automatically. To start it, search for Docker, select the app in the search results, and click it (or hit Return).
When the whale in the status bar stays steady, Docker is up-and-running, and accessible from any terminal window.
If the whale is hidden in the Notifications area, click the up arrow on the taskbar to show it. To learn more, see Docker Settings.
If you just installed the app, you also get a popup success message with suggested next steps, and a link to this documentation.
When initialization is complete, select About Docker from the notification area icon to verify that you have the latest version.
Congratulations! You are up and running with Docker for Windows.
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.
-
Get started with Docker teaches you how to define and deploy applications with Docker.
-
Troubleshooting describes common problems, workarounds, how to run and submit diagnostics, and submit issues.
-
FAQs provides answers to frequently asked questions.
-
Release Notes lists component updates, new features, and improvements associated with Stable and Edge releases.