windows 2008 server R2 服务器docker安装

时间:2023-03-09 19:52:45
windows 2008 server R2 服务器docker安装

1、安装包选择

  1. windows
    1. win10 较新版本,使用 Get Docker for Windows (Stable) 或者 Get Docker for Windows (Edge)
    2. 其余使用 Docker Toolbox  【我们选用的版本】

      The current version of Docker for Windows runs on 64bit Windows 10 Pro, Enterprise and Education (1607 Anniversary Update, Build 14393 or later). In the future we will support more versions of Windows 10.
      https://docs.docker.com/docker-for-windows/install/#download-docker-for-windows

  2. linux
    1. CentOS 7 + 官方支持

2、安装及配置

    1. 安装一路下一步即可
      windows 2008 server R2 服务器docker安装  windows 2008 server R2 服务器docker安装  windows 2008 server R2 服务器docker安装
    2. 启动
      1. 第一次启动报错
        windows 2008 server R2 服务器docker安装
        原因:可能是墙了
        解决方法:从显示地址下载 boot2docker.iso 文件,放到 C:\Users\**\.docker\machine\cache 目录下
      2. 再一次重新启动
        windows 2008 server R2 服务器docker安装
        原因:Cpu 虚拟化未开启
        解决方法:进入BIOS 开启CPU虚拟化 [方法较多,一般F2...]
      3. 启动成功
        windows 2008 server R2 服务器docker安装windows 2008 server R2 服务器docker安装 windows 2008 server R2 服务器docker安装
    3. 虚拟机 docker不能启动原因

      1.  Docker for Windows requires Microsoft Hyper-V to run
        主机无法安装Hyper-V 因为 CPU没开启虚拟化支持

        windows 2008 server R2 服务器docker安装

      2. 导致toolbox虚拟化无法运行
        windows 2008 server R2 服务器docker安装