How to determine whether Docker works on a Windows OS?
Windows 10 and Windows Server 2016 support native Windows containers
From Docker's offical website, I know Windows 10 and Windows Server 2016 is required for running native Windows containers. The kernel containerization primitives are only available starting with Windows 10 and Windows Server 2016.
Install Docker on Windows : https://docs.docker.com/toolbox/toolbox_install_windows/
Another Chinese installation tutorial : https://www.runoob.com/docker/windows-docker-install.html
For other Windows versions, "Docker Toolbox" is required to install Docker
Toobox Releases : https://github.com/docker/toolbox/releases
Window Server 2012 R2 install Docker failed
Today, I try to install Docker on a Window Server 2012 R2, but failed with below error message:
Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory".
So, I want to find the way to enable VT-X/AMD-v.
Then, I found that, not all CPUs support "virtualization technology"
Currently, mainstream CPUs produced by Inter and AMD support virtualization technology, but many computers or motherboards have the virtualization technology disabled by default when they leave the factory.
Some older CPUs do not support virtualization technology. To determine whether the computer CPU supports virtualization technology, you can search and download the software “securable.exe” for testing.
Use “securable.exe” to check if CPU supports "virtualization technology"
So, I download “securable.exe” from this website: http://www.grc.com/files/securable.exe
This small piece of software called "Securable" has only 114KB as a single executable program. You can test the three functions of the CPU directly:
1. Check whether your CPU is 32-bit or 64-bit
2. Check whether your CPU supports "Virtualization Technology"
3. Check whether your CPU supports "Data Execution Prevention"
After testing, I found that my Windows Server 2012 R2's CPU doesn't support "Virtualization Technology", unless I change computer or CPU.
If your CPU supports "Virtualization Technology" but disabled, how to enable it?
Enable BIOS virtualization settings,enable CPU virtualization support.
After restarting the computer, press F2 or F10 to enter the BIOS interface (different motherboard models require different keys to enter the BIOS).
Note: The keywords displayed in the BISO are not the same for the motherboard. Just find Virtual or Virtualization and set it to Enabled.
F10 saves the BIOS settings and restarts the computer.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 25岁的心里话
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
2014-01-07 Javascript中escape()、encodeURI()、encodeURIComponent()的区别