Start Docker Windows
- Running Docker Windows And Linux Containers Simultaneously
- Run Docker Windows Container On Linux
- Start Docker Windows
The exercise will walk through creating and running Linux containers on Windows 10. In this quick start you will accomplish: Installing Docker Desktop; Running a simple Linux container; This quick start is specific to Windows 10. Additional quick start documentation can be found in the table of contents on the left-hand side of this page. 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.
Running Docker Windows And Linux Containers Simultaneously
-->The exercise will walk through creating and running Linux containers on Windows 10.
In this quick start you will accomplish:
- Installing Docker Desktop
- Running a simple Linux container
This quick start is specific to Windows 10. Additional quick start documentation can be found in the table of contents on the left-hand side of this page.
Prerequisites
Please make sure you meet the following requirements:
- One physical computer system running Windows 10 Professional, Windows 10 Enterprise, or WindowsServer 2019 version 1809 or later
- Make sure Hyper-V is enabled.
Install Docker Desktop
Download Docker Desktop and run the installer (You will be required to login. Create an account if you don't have one already). Detailed installation instructions are available in the Docker documentation.
Run Your First Linux Container
In order to run Linux containers, you need to make sure Docker is targeting the correct daemon. You can toggle this by selecting Switch to Linux Containers
from the action menu when clicking on the Docker whale icon in the system tray. If you see Switch to Windows Containers
, then you are already targeting the Linux daemon.
Run Docker Windows Container On Linux
Once you've confirmed you are targeting the correc daemon, run the container with the following command:
Start Docker Windows
The container should run, print 'hello_world', then exit.
When you query docker images
, you should see the Linux container image that you just pulled an ran: