banner



How To Run Linux Docker Image On Windows

Install Docker Desktop on Windows

Estimated reading time: x minutes

Update to the Docker Desktop terms

Commercial use of Docker Desktop in larger enterprises (more than 250 employees OR more $ten million USD in annual revenue) at present requires a paid subscription.

Welcome to Docker Desktop for Windows. This page contains information almost 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 auto must meet the post-obit 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 x 64-chip: Home or Pro 21H1 (build 19043) or college, or Enterprise or Educational activity 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 10 or Windows xi:

    • 64-bit processor with Second Level Accost Translation (SLAT)
    • 4GB system RAM
    • BIOS-level hardware virtualization support must be enabled in the BIOS settings. For more than data, see Virtualization.
  • Download and install the Linux kernel update parcel.

Hyper-V backend and Windows containers

  • Windows 11 64-bit: Pro version 21H2 or higher, or Enterprise or Instruction version 21H2 or higher.
  • Windows ten 64-bit: Pro 21H1 (build 19043) or higher, or Enterprise or Education 20H2 (build 19042) or higher.

    For Windows 10 and Windows 11 Habitation, come across the system requirements in the WSL two backend tab.

  • Hyper-Five and Containers Windows features must be enabled.
  • The following hardware prerequisites are required to successfully run Client Hyper-V on Windows 10:

    • 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 than information, come across Virtualization.

Notation

Docker only supports Docker Desktop on Windows for those versions of Windows 10 that are still inside Microsoft's servicing timeline.

Containers and images created with Docker Desktop are shared betwixt all user accounts on machines where it is installed. This is considering all Windows accounts use the same VM to build and run containers. Note that it is non possible to share containers and images betwixt user accounts when using the Docker Desktop WSL ii backend.

Nested virtualization scenarios, such as running Docker Desktop on a VMWare or Parallels case might work, merely in that location are no guarantees. For more information, see Running Docker Desktop in nested virtualization scenarios.

About Windows containers

Looking for information on using Windows containers?

  • Switch between Windows and Linux containers describes how you can toggle between Linux and Windows containers in Docker Desktop and points y'all to the tutorial mentioned above.
  • Getting Started with Windows Containers (Lab) provides a tutorial on how to prepare and run Windows containers on Windows 10, Windows Server 2016 and Windows Server 2019. It shows you lot 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

  1. Double-click Docker Desktop Installer.exe to run the installer.

    If yous haven't already downloaded the installer (Docker Desktop Installer.exe), you tin can get it from Docker Hub. Information technology typically downloads to your Downloads folder, or you can run it from the recent downloads bar at the bottom of your web browser.

  2. When prompted, ensure the Use WSL 2 instead of Hyper-V option on the Configuration folio is selected or not depending on your choice of backend.

    If your system only supports i of the 2 options, y'all will not exist able to select which backend to use.

  3. Follow the instructions on the installation magician to qualify the installer and proceed with the install.

  4. When the installation is successful, click Shut to complete the installation process.

  5. If your admin account is different to your user account, yous must add together the user to the docker-users group. Run Computer Management as an administrator and navigate to Local Users and Groups > Groups > docker-users. Right-click to add the user to the group. Log out and log back in for the changes to accept event.

Install from the command line

Afterward downloading Docker Desktop Installer.exe, run the post-obit control in a last to install Docker Desktop:

            "Docker Desktop Installer.exe" install                      

If you're using PowerShell yous should run information technology every bit:

            Start-Procedure '.\win\build\Docker Desktop Installer.exe' -Await install                      

If using the Windows Command Prompt:

            start /w "" "Docker Desktop Installer.exe" install                      

The install control accepts the following flags:

  • --quiet: suppresses data output when running the installer
  • --accept-license: accepts the Docker Subscription Service Understanding at present, rather than requiring it to be accepted when the application is starting time run
  • --allowed-org=<org name>: requires the user to sign in and be part of the specified Docker Hub organization when running the application
  • --backend=<backend name>: selects the backend to employ for Docker Desktop, hyper-v or wsl-2 (default)

If your admin account is different to your user account, you must add together the user to the docker-users group:

            net localgroup docker-users <user> /add together                      

Beginning Docker Desktop

Docker Desktop does non start automatically subsequently installation. To start Docker Desktop:

  1. Search for Docker, and select Docker Desktop in the search results.

    search for Docker app

  2. The Docker carte du jour (whale menu) displays the Docker Subscription Service Agreement window. It includes a change to the terms of use for Docker Desktop.

    Hither's a summary of the key changes:

    • Our Docker Subscription Service Agreement includes a modify to the terms of use for Docker Desktop
    • It remains free for small-scale businesses (fewer than 250 employees AND less than $ten million in annual revenue), personal use, education, and non-commercial open source projects.
    • It requires a paid subscription for professional person use in larger enterprises.
    • The constructive date of these terms is August 31, 2021.
    • The existing Docker Free subscription has been renamed Docker Personal and we accept introduced a Docker Business organisation subscription .
    • The Docker Pro, Team, and Business subscriptions include commercial use of Docker Desktop.
  3. Click the checkbox to indicate that you accept the updated terms and then click Accept to continue. Docker Desktop starts after yous have the terms.

    Important

    If you do not agree to the updated terms, the Docker Desktop application volition close and you lot can no longer run Docker Desktop on your machine. You can choose to accept the terms at a afterward date by opening Docker Desktop.

    For more than information, see Docker Desktop License Understanding. We recommend that you as well read the Blog and FAQs to learn how companies using Docker Desktop may be afflicted.

Quick Start Guide

When the initialization is consummate, Docker Desktop launches the Quick Commencement Guide. This tutorial includes a simple exercise to build an example Docker paradigm, run it as a container, button and save the image to Docker Hub.

To run the Quick Outset Guide on demand, correct-click the Docker icon in the Notifications area (or System tray) to open the Docker Desktop menu and and so select Quick Commencement Guide.

Docker Quick Start tutorial

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) also notifies you of any updates available to Docker Desktop. You tin can choose to download the update correct away, or click the Release Notes selection to larn what'southward 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. For more data, run across Software Updates.

Docker Subscription Service Agreement

Beginning on August 31, 2021, you must agree to the Docker Subscription Service Agreement to continue using Docker Desktop. Read the Web log and the Docker subscription FAQs to larn more well-nigh the changes.

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 issue.

When Docker Desktop starts, information technology displays the Docker Subscription Service Understanding window. Read the information presented on the screen to empathize how the changes impact yous. Click the checkbox to indicate that you accept the updated terms and so click Accept to continue.

Important

If yous do not agree to the terms, the Docker Desktop awarding will shut and you can no longer run Docker Desktop on your machine. You tin can choose to accept the terms at a later date by opening Docker Desktop.

Docker Desktop starts after yous accept the terms.

Uninstall Docker Desktop

To uninstall Docker Desktop from your Windows auto:

  1. From the Windows Showtime menu, select Settings > Apps > Apps & features.
  2. Select Docker Desktop from the Apps & features list and then select Uninstall.
  3. Click Uninstall to confirm your selection.

Important

Uninstalling Docker Desktop destroys Docker containers, images, volumes, and other Docker related data local to the machine, and removes the files generated by the application. Refer to the support and restore data department to learn how to preserve important data earlier uninstalling.

Where to become next

  • Getting started introduces Docker Desktop for Windows.
  • Become started with Docker is a tutorial that teaches you how to deploy a multi-service stack.
  • Troubleshooting describes common problems, workarounds, and how to get back up.
  • FAQs provide answers to frequently asked questions.
  • Release notes lists component updates, new features, and improvements associated with Docker Desktop releases.
  • Back up and restore data provides instructions on bankroll up and restoring data related to Docker.
windows, install, download, run, docker, local

Source: https://docs.docker.com/desktop/windows/install/

Posted by: kleinsenjoyergoo.blogspot.com

0 Response to "How To Run Linux Docker Image On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel