With Docker for Windows started and Windows containers selected, you can now run either Windows or Linux Containers simultaneously. The new –platform=linux command line switch is used to pull or start Linux images on Windows. Now start the Linux container and a Windows Server Core container. Both containers are running on a single host. On other Windows systems you will have to setup Docker yourself. There are two ways to install Docker on Windows depending on your Windows version. Docker Installer Method: Windows 10 64-bit Professional, Enterprise, and Education Versions include Hyper-V and therefore will support Docker natively. Follow this guide to install Docker for. Docker Desktop Enterprise is a new addition to our desktop product portfolio which currently includes the free Docker Desktop Community products for MacOS and Windows. Docker Desktop is the simplest way to get started with container-based development on both Windows 10 and macOS with a set of features now available for the enterprise. Windows Server licensing includes the licence cost for Docker Enterprise, so you can run the enterprise edition with production support for containers from Microsoft and Docker. The latest Docker Enterprise engine is version 19.03 18.03, which you can explicitly install with PowerShell. Build and Run Your First Windows Server Container (Blog Post) gives a quick tour of how to build and run native Docker Windows containers on Windows 10 and Windows Server 2016 evaluation releases. Getting Started with Windows Containers (Lab) shows you how to use the MusicStore application with Windows containers.
Have you previously installed Docker Toolbox, Docker Machine, or VirtualBox?
Docker for Windows now requires Microsoft’s Hyper-V. Once enabled, VirtualBox will no longer be able to run virtual machines (your VM images will still remain). You can still use
docker-machine to manage remote hosts.
You have the option to import the
default VM after installing Docker for Windows from the Settings menu in the System Tray.
Docker for Windows enables Hyper-V if necessary; this requires a reboot.
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.
- Download Docker.
InstallDocker.msito run the installer.
- Follow the Install Wizard: accept the license, authorize the installer, and proceed with the install.
- Click Finish to launch Docker.
- Docker starts automatically.
- Docker loads a “Welcome” window giving you tips and access to the Docker documentation.
The whale in the status bar indicates a running (and accessible via terminal) Docker instance.
Open PowerShell or your favorite Windows terminal (e.g., Command prompt) and enter
docker run hello-world.
Windows prompts you for access every time Docker starts, allowing Docker to manage the Hyper-V VM’s. The first time Docker starts, you may need to provide the token from the Beta invitation email. When initialization completes, select About Docker from the notification area and verify you have the latest version.
From PowerShell (or your favorite Windows terminal), check the versions of
docker-compose, and verify your installation:
Docker For Windows 8.1 Enterprise
Before you stop, let’s test a Dockerized webserver; from PowerShell or cmd.exe, run:
If your host does not already have it, Docker downloads
nginx from Docker Hub and starts it. As soon as the download completes, point your web browser to http://docker to view the start page. You should see:
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.Commercial support is available at nginx.com.
Thank you for using nginx.
Docker For Windows Enterprise
If your CPU does not support virtualization, or if you do not have a 64-bit CPU, you cannot run Docker locally.
If you do not run a 64-bit version of Windows Windows 10 Pro, Enterprise, or Education; 1511 November update, Build 10586 or later, you cannot run Docker for Windows.
You can install Docker Toolbox if you have a 64-bit version of Windows 7 or later. Alternately, you do have the option to upgrade.
Docker For Windows Enterprise Key
Next: Install Docker on Linux
Requirements and things to know before installing Docker for Linux.