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.

posted on   张缤分  阅读(231)  评论(0编辑  收藏  举报

编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 25岁的心里话
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
历史上的今天:
2014-01-07 Javascript中escape()、encodeURI()、encodeURIComponent()的区别

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示