zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    插入迭代器
    operator[] 和 insert
    STL注意比较函数
    remove、erase
    reserve的使用
    allocator
    【转】【模板】求割点和桥
    【模拟,时针分针秒针两两夹角】【没有跳坑好兴奋】hdu
    【强连通分量分解】
    【模拟ACM排名】ZOJ-2593 Ranking (Andrew Stankevich’s Contest #5)
  • 原文地址:https://www.cnblogs.com/MasterMonkInTemple/p/12161062.html
Copyright © 2011-2022 走看看