How To Install Docker On Windows
Install Docker Desktop on Windows
Estimated reading time: 10 minutes
Update to the Docker Desktop terms
Commercial use of Docker Desktop in larger enterprises (more than than 250 employees OR more than $10 million USD in almanac revenue) at present requires a paid subscription.
Welcome to Docker Desktop for Windows. This page contains information near Docker Desktop for Windows system requirements, download URL, instructions to install and update Docker Desktop for Windows.
Download Docker Desktop for Windows
Docker Desktop for Windows
System requirements
Your Windows machine must run across the following requirements to successfully install Docker Desktop.
WSL 2 backend
- Windows 11 64-bit: Home or Pro version 21H2 or higher, or Enterprise or Education version 21H2 or higher.
- Windows 10 64-bit: Dwelling house or Pro 21H1 (build 19043) or college, or Enterprise or Education 20H2 (build 19042) or higher.
- Enable the WSL ii feature on Windows. For detailed instructions, refer to the Microsoft documentation.
-
The post-obit hardware prerequisites are required to successfully run WSL 2 on Windows x or Windows 11:
- 64-bit processor with 2nd Level Address Translation (SLAT)
- 4GB organization RAM
- BIOS-level hardware virtualization back up must be enabled in the BIOS settings. For more data, encounter Virtualization.
- Download and install the Linux kernel update package.
Hyper-V backend and Windows containers
- Windows eleven 64-scrap: Pro version 21H2 or higher, or Enterprise or Education version 21H2 or college.
-
Windows x 64-bit: Pro 21H1 (build 19043) or college, or Enterprise or Instruction 20H2 (build 19042) or higher.
For Windows x and Windows 11 Dwelling, encounter the organization requirements in the WSL two backend tab.
- Hyper-V and Containers Windows features must be enabled.
-
The following hardware prerequisites are required to successfully run Customer Hyper-Five on Windows x:
- 64 bit processor with Second Level Address Translation (SLAT)
- 4GB arrangement RAM
- BIOS-level hardware virtualization support must be enabled in the BIOS settings. For more information, encounter Virtualization.
Note
Docker only supports Docker Desktop on Windows for those versions of Windows 10 that are still within Microsoft'south servicing timeline.
Containers and images created with Docker Desktop are shared between all user accounts on machines where it is installed. This is considering all Windows accounts use the same VM to build and run containers. Notation that it is not possible to share containers and images between user accounts when using the Docker Desktop WSL 2 backend.
Nested virtualization scenarios, such as running Docker Desktop on a VMWare or Parallels instance might work, but there are no guarantees. For more data, come across Running Docker Desktop in nested virtualization scenarios.
About Windows containers
Looking for data on using Windows containers?
- Switch between Windows and Linux containers describes how you can toggle betwixt Linux and Windows containers in Docker Desktop and points you lot to the tutorial mentioned in a higher place.
- Getting Started with Windows Containers (Lab) provides a tutorial on how to set upward and run Windows containers on Windows 10, Windows Server 2016 and Windows Server 2019. It shows you how to use a MusicStore application with Windows containers.
- Docker Container Platform for Windows articles and blog posts on the Docker website.
Install Docker Desktop on Windows
Install interactively
-
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 yourDownloadsbinder, or you can run information technology from the recent downloads bar at the bottom of your web browser. -
When prompted, ensure the Use WSL 2 instead of Hyper-V choice on the Configuration page is selected or not depending on your choice of backend.
If your system merely supports 1 of the two options, y'all will not be able to select which backend to use.
-
Follow the instructions on the installation wizard to authorize the installer and proceed with the install.
-
When the installation is successful, click Close to complete the installation process.
-
If your admin account is different to your user account, you must add the user to the docker-users group. Run Computer Direction every bit an administrator and navigate to Local Users and Groups > Groups > docker-users. Right-click to add together the user to the group. Log out and log back in for the changes to accept result.
Install from the command line
After downloading Docker Desktop Installer.exe, run the following control in a terminal to install Docker Desktop:
"Docker Desktop Installer.exe" install If you're using PowerShell yous should run information technology as:
Start-Process '.\win\build\Docker Desktop Installer.exe' -Wait install If using the Windows Command Prompt:
outset /w "" "Docker Desktop Installer.exe" install The install control accepts the following flags:
-
--quiet: suppresses information output when running the installer -
--accept-license: accepts the Docker Subscription Service Agreement now, rather than requiring it to be accustomed when the application is start run -
--immune-org=<org proper name>: requires the user to sign in and exist function of the specified Docker Hub arrangement when running the application -
--backend=<backend name>: selects the backend to apply for Docker Desktop,hyper-5orwsl-ii(default)
If your admin account is different to your user account, y'all must add the user to the docker-users grouping:
internet localgroup docker-users <user> /add Get-go Docker Desktop
Docker Desktop does not first automatically after installation. To start Docker Desktop:
-
Search for Docker, and select Docker Desktop in the search results.
-
The Docker card (
) displays the Docker Subscription Service Understanding window. Information technology includes a change to the terms of utilise for Docker Desktop.Here'south a summary of the fundamental changes:
- Our Docker Subscription Service Agreement includes a change to the terms of employ for Docker Desktop
- It remains free for pocket-size businesses (fewer than 250 employees AND less than $10 million in annual acquirement), personal use, instruction, and non-commercial open source projects.
- It requires a paid subscription for professional utilize in larger enterprises.
- The effective date of these terms is Baronial 31, 2021.
- The existing Docker Gratuitous subscription has been renamed Docker Personal and nosotros have introduced a Docker Concern subscription .
- The Docker Pro, Squad, and Concern subscriptions include commercial use of Docker Desktop.
-
Click the checkbox to indicate that you lot accept the updated terms and then click Accept to go on. Docker Desktop starts after you have the terms.
Important
If you do not agree to the updated terms, the Docker Desktop application will close and you tin can no longer run Docker Desktop on your machine. You tin choose to have the terms at a later date by opening Docker Desktop.
For more than data, come across Docker Desktop License Agreement. We recommend that yous also read the Blog and FAQs to learn how companies using Docker Desktop may be affected.
Quick Start Guide
When the initialization is complete, Docker Desktop launches the Quick Get-go Guide. This tutorial includes a simple exercise to build an instance Docker image, run information technology as a container, push and relieve the paradigm to Docker Hub.
To run the Quick Outset Guide on demand, right-click the Docker icon in the Notifications area (or Arrangement tray) to open the Docker Desktop carte and and so select Quick Start Guide.
Congratulations! You are now successfully running Docker Desktop on Windows.
Updates
When an update is available, Docker Desktop displays an icon on the Docker menu to indicate the availability of a newer version. Additionally, the Software Updates section in Settings (Preferences on Mac) besides notifies you of any updates bachelor to Docker Desktop. You tin choose to download the update right away, or click the Release Notes option to acquire what's included in the updated version.
Starting with Docker Desktop 4.2.0, the choice to plough off the automatic check for updates is available for users on all Docker subscriptions, including Docker Personal and Docker Pro. For more than information, run across Software Updates.
Docker Subscription Service Understanding
Beginning on August 31, 2021, you lot must agree to the Docker Subscription Service Understanding to continue using Docker Desktop. Read the Blog and the Docker subscription FAQs to learn more about the changes.
Click Download update When you lot are set up to download the update. This downloads the update in the background. After downloading the update, click Update and restart from the Docker menu. This installs the latest update and restarts Docker Desktop for the changes to take issue.
When Docker Desktop starts, it displays the Docker Subscription Service Agreement window. Read the information presented on the screen to understand how the changes impact you. Click the checkbox to indicate that you accept the updated terms and then click Have to go on.
Important
If you do not concord to the terms, the Docker Desktop application will close and you can no longer run Docker Desktop on your automobile. You tin choose to accept the terms at a subsequently appointment by opening Docker Desktop.
Docker Desktop starts after you have the terms.
Uninstall Docker Desktop
To uninstall Docker Desktop from your Windows machine:
- From the Windows Get-go carte, select Settings > Apps > Apps & features.
- Select Docker Desktop from the Apps & features list and and then select Uninstall.
- Click Uninstall to ostend your pick.
Of import
Uninstalling Docker Desktop destroys Docker containers, images, volumes, and other Docker related information local to the machine, and removes the files generated by the application. Refer to the back up and restore data section to acquire how to preserve of import information before uninstalling.
Where to go next
- Getting started introduces Docker Desktop for Windows.
- Get started with Docker is a tutorial that teaches y'all how to deploy a multi-service stack.
- Troubleshooting describes common bug, workarounds, and how to get back up.
- FAQs provide answers to oftentimes asked questions.
- Release notes lists component updates, new features, and improvements associated with Docker Desktop releases.
- Support and restore information provides instructions on backing upward and restoring data related to Docker.
Source: https://docs.docker.com/desktop/windows/install/
Posted by: mooreadezvot.blogspot.com

0 Response to "How To Install Docker On Windows"
Post a Comment