安装Docker
在Windows 10上安装Docker
参考资料
When prompted, ensure the Enable Hyper-V Windows Features or the Install required Windows components for WSL 2 option is selected on the Configuration page.
From the Docker menu, select Settings > General. Select the Use WSL 2 based engine check box. If you have installed Docker Desktop on a system that supports WSL 2, this option will be enabled by default.
配置阿里云镜像加速
访问阿里云,登录自己账号,查看Docker镜像加速服务。将私有加速地址
链接拷贝至Docker Engine
:
{
"registry-mirrors": ["xxxxxx"]
}
在terminal
的CentOS8
中输入docker info
,查看Registry Mirrors
地址!