一定要开启CPU虚拟化

1、安装包选择

  1. windows
    1. win10 较新版本,下载https://www.docker.com/products/docker-desktop
    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
      https://docs.docker.com/toolbox/toolbox_install_windows/
  2. linux
    1. CentOS 7 + 官方支持

2、安装及配置

      1. 安装一路下一步即可

      2. 启动
        1. 第一次启动报错boot2docker.iso版本太旧

          原因:可能是墙了
          解决方法:从显示地址下载 boot2docker.iso 文件,下载新版本的boot2docker.iso文件放到 C:\Users\Administrator\.docker\machine\cache 目录下
        • 下载地址:https://github.com/boot2docker/boot2docker/releases
        • 重新打开再一次重新启动

Docker常用命令
https://blog.csdn.net/iamverygood/article/details/52534964

posted on 2019-12-05 10:06  小油2018  阅读(6086)  评论(0编辑  收藏  举报