docker Toolbox毕竟没有Docker 香~
建议升级到win10专业版.
确保虚拟化开启:
下载安装包:
https://www.docker.com/products/docker-desktop
登录账号密码。然后就会跳转到这个界面.
https://hub.docker.com/?overlay=onboarding
(可以看看,这是一个新手引导页。还是不错滴..……^-^)
开启Hyper-V:
安装下载好的Docker安装包:
use windows containers instead of linux containers(this can be changed after installation) 使用 Windows 容器 代替 Linux 容器 (这将会在安装后改变) 这个不要勾选,除非你不在docker使用linux。一般不要勾选 等待安装完成即可
然后会close and quit,自动注销后,打开桌面上的docker图标,
登录一下dockerID.
然后打开设置:
General:这里是设置docker开机自启,应用程序启动时检查更新,发布使用情况统计信息
Daemon:Docker for windows10 可以配置阿里云镜像,到https://cr.console.aliyun.com/ 注册一个账户,登录进去后再列表选择加速器,把你的专属加速器地址复制粘贴到Daemon的Registry mirrors中
改一下磁盘images位置,