Table of contents
Steps to install Docker Desktop
Manual installation steps for WSL
Docker Desktop is a graphical desktop application for Windows officially provided by Docker, which makes it very simple to use Docker in a local environment.
Steps to install Docker Desktop
1. Go to the official Docker website: Download Docker Desktop | Docker
2. Select "Download for Windows" on the page to download the Docker Desktop installer.
3. Run the downloaded installer, and install according to the instructions of the installation wizard. During the installation process, you may need to grant administrator rights to the installer.
4. After the installation is complete, Docker Desktop will start automatically and display the Docker icon in the system tray. Click the icon, you can access the Docker control panel and start using Docker.
5. After the installation is complete, Docker is ready on your Windows 11 system, and you can run applications and services in Docker containers.
Docker Desktop update WSL
Manual installation steps for WSL
Windows PowerShell
Windows PowerShell is a more powerful, advanced command-line tool for system administration, task automation, and complex scripting.
Windows Terminal is a traditional command-line tool suitable for executing simple commands and batch files.
Pull (Pull) image
First open cmd, you can download the Docker image through the docker pull command. For example, if you want to pull the official Ubuntu mirror, you can run the following command:
docker pull ubuntu
View downloaded images
Use the docker images command to list all locally downloaded Docker images:
docker images
Output "Hello Docker!"
docker run ubuntu /bin/echo "Hello Docker!"