• 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.

  • 相关阅读:
    mysql 库,表,数据操作
    mysql 初识数据库
    MySQL 索引 视图 触发器 存储过程 函数
    MySQL 事物和数据库锁
    MySQL 约束和数据库设计
    MySQL 创建千万集数据
    MySQL 各种引擎
    求1,1,2,3,5,8,13 斐波那契数列第N个数的值
    WEB前端研发工程师编程能力成长之路(1)
    XML DOM
  • 原文地址:https://www.cnblogs.com/MasterMonkInTemple/p/12161062.html
Copyright © 2020-2023  润新知