WSL安装Docker Engine
Ubutnu 20.04LTS-Install using the apt repository
Last updated
Ubutnu 20.04LTS-Install using the apt repository
Last updated
Update the apt
package index and install packages to allow apt
to use a repository over HTTPS:
Add Docker’s official GPG key:
Use the following command to set up the repository:
Update the apt
package index:
Install Docker Engine, containerd, and Docker Compose.
Verify that the Docker Engine installation is successful by running the hello-world
image.