windows环境下安装Docker

📅 2026/7/31 22:15:17 👁️ 阅读次数 📝 编程学习
windows环境下安装Docker

windows环境下安装Docker

访问:

https://docs.docker.com/get-started/get-docker/

 

选择系统:

图片

 

点击下载安装:

图片

安装后打开Docker:

提示:

Virtualization support not detected

Docker Desktop failed to start because virtualisation support wasn’t detected. Sign in to try restoring access to Docker features.

图片

管理员CMD执行:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all

 等待进度条走满后重启;(忘了截图直接重启了……)

 

重启后再次开启Docker:

提示:Your version of Windows Subsystem for Linux (WSL) is too old.

Run the command below to update or for more information, visit .the Microsoft WSL documentation

图片

 

管理员CMD执行:

wsl --update

图片

管理员CMD执行:

docker --version

图片

 

配置镜像源:

 

图片