摘要:
1、创建的容器未启动 $ docker create image $ docker commit –m “Added a new file” –a “Docker Newbee” a925cb40b3f0 test OPTIONS说明(常用): -a, --author=”” 作者信息 -m, -- 阅读全文
摘要:
1、 创建镜像(使用Dockerfile文件生成镜像) $ docker build -t registrcsphere/centos:7.1 ./path OPTIONS说明: -t 镜像名字 ./path: Dockerfile 文件所在的目录 2、搜索镜像 $ docker search [O 阅读全文
摘要:
Docker安装 1、Docker 要求 CentOS 系统的内核版本高于 3.10 ,查看本页面的前提条件来验证你的CentOS 版本是否支持 Docker 。 通过 uname -r 命令查看你当前的内核版本 $ uname -r 2、使用 root 权限登录 Centos。确保 yum 包更新 阅读全文