Microsoft chạy docker trên windows 10
Estimated reading time: 9 minutes Show
Welcome to Docker Desktop for Windows. This page contains information about Docker Desktop for Windows system requirements, download URL, instructions to install and update Docker Desktop for Windows.
For checksums, see Release notes System requirementsYour Windows machine must meet the following requirements to successfully install Docker Desktop.
WSL 2 backend
Hyper-V backend and Windows containers
Containers and images created with Docker Desktop are shared between all user accounts on machines where it is installed. This is because all Windows accounts use the same VM to build and run containers. Note that it is not possible to share containers and images between user accounts when using the Docker Desktop WSL 2 backend. Running Docker Desktop inside a VMware ESXi or Azure VM is supported for Docker Business customers. It requires enabling nested virtualization on the hypervisor first. For more information, see Running Docker Desktop in a VM or VDI environment. About Windows containersLooking for information on using Windows containers?
Install Docker Desktop on WindowsInstall interactively
Install from the command lineAfter downloading Docker Desktop Installer.exe, run the following command in a terminal to install Docker Desktop:
If you’re using PowerShell you should run it as:
If using the Windows Command Prompt:
The install command accepts the following flags:
If your admin account is different to your user account, you must add the user to the docker-users group:
Start Docker DesktopDocker Desktop does not start automatically after installation. To start Docker Desktop:
UpdatesWhen 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) also notifies you of any updates available to Docker Desktop. You can choose to download the update right away, or click the Release Notes option to learn what’s included in the updated version. Starting with Docker Desktop 4.2.0, the option to turn off the automatic check for updates is available for users on all Docker subscriptions, including Docker Personal and Docker Pro.. Click Download update When you are ready 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 effect. 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 terms and then click Accept to continue.
Docker Desktop starts after you accept the terms. Uninstall Docker DesktopTo uninstall Docker Desktop from your Windows machine:
Where to go next
|