Skip to content

Instantly share code, notes, and snippets.

@novohool
Last active July 24, 2018 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save novohool/18feaa6a08b9d3ec0664bcb0edc390a8 to your computer and use it in GitHub Desktop.
Save novohool/18feaa6a08b9d3ec0664bcb0edc390a8 to your computer and use it in GitHub Desktop.
windows10上使用安装docker
bios开启虚拟化支持
系统功能里面勾选hypervisor虚拟化程序
开启虚拟化占用
: bcdedit /set hypervisorlaunchtype auto 【或者在系统服务里面对其服务进行管理:Hyper-V 虚拟机管理服务】
迅雷下载安装docker
: https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe
关闭占用
: bcdedit /set hypervisorlaunchtype off
设置镜像{"registry-mirrors": ["https://registry.docker-cn.com"]}
测试docker运行程序【打开浏览器访问7681】
docker run -itd -p 7681:7681 jingslunt/linux
![](http://ww1.sinaimg.cn/large/6e557adagy1ftkodme9n0j20gi0czmy8.jpg)
![](http://ww1.sinaimg.cn/large/6e557adagy1ftkodmdo8ej20ni0g4js5.jpg)
![](http://ww1.sinaimg.cn/large/6e557adagy1ftkodmdcmqj20vt0b40t0.jpg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment