Docker学习笔记-CentOS7镜像
前言:
环境:centos7.5 64 位
正文:
第一步:下载centos7镜像
docker pull centos
第二步:建立centos7的容器
sudo docker run --privileged --cap-add SYS_ADMIN -e container=docker -it --name my_centos -p 80:80 -d --restart=always centos /usr/sbin/init
- --privileged 指定容器是否是特权容器。这里开启特权模式。
- --cap-add SYS_ADMIN 添加系统的权限。否则系统很多功能都用不了的。
- -e container=docker 设置容器的类型。
- -it 启动互动模式。
- --name 取别名 my_centos
- -p 端口映射,把80端口映射到容器的80端口。
- -d 放入后台
- --restart=always 在启动时指定自动重启
- /usr/sbin/init 初始容器里的centos。
- 以上的参数是必需的。否则建立的centos容器不能正常使用和互动
- 如果没有-it参数,容器会不停启动。
- 如果没有初始化和特权等等的开关,就不能使用systemctl。所以,以上的开关和设置是一样不能少的。
进入容器
docker exec -it my_centos /bin/bash
容器的用户是root,如果要修改密码,要安装一些被精简掉的程序。如passwd,sudo等命令。
第三步:commit制作镜像
启动一个容器,对容器修改操作,会保存到容器的存储层,当容器销毁存储层也销毁。
1.修改了容器的文件,即修改了容器的存储层,查看具体改动
#我们可以看到具体改动
docker diff my_centos
2.commit保存修改成为镜像,镜像名字为my_centos:v2
docker commit --author "hanfan" --message "创建了镜像" my_centos my_centos:v2
3.查看my_centos:v2镜像修改历史
docker history my_centos:v2
第四步:推送到hub上
1.登录hub
docker login
输入账号密码,登录成功。
2.推送
docker push my_centos:v2
报错
Error response from daemon: You cannot push a "root" repository. Please rename your repository to docker.io/<user>/<repo> (ex: docker.io/hanfan/my_centos)
行吧,那就重新做一个镜像
docker commit --author "hanfan" --message "创建了镜像" my_centos docker.io/hanfan/my_centos
再次推送
上 https://hub.docker.com/ 看一下
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAABZAAAAFoCAYAAADJp946AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAADXkSURBVHhe7d39j1zVnSf+7z+zfwE/zPJDtCNtFGm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mADAAAAABAkgAZAAAAAIAkATIAAAAAAEkCZAAAAAAAkgTIAAAAAAAkCZABAAAAAEgSIAMAAAAAkCRABgAAAAAgSYAMAAAAAECSABkAAAAAgCQBMgAAAAAASQJkAAAAAACSBMgAAAAAACQJkAEAAAAASBIgAwAAAACQJEAGAAAAACBJgAwAAAAAQJIAGQAAAACAJAEyAAAAAABJAmQAAAAAAJIEyAAAAAAAJAmQAQAAAABIEiADAAAAAJAkQAYAAAAAIEmADAAAAABAkgAZAAAAAIAkATIAAAAAAEkCZAAAAAAAkgTIAAAAAAAkCZABAAAAAEgSIAMAAAAAkCRABgAAAAAgSYAMAAAAAECSABkAAAAAgCQBMgAAAAAASQJkAAAAAACSBMgAAAAAACQJkAEAAAAASBIgAwAAAACQJEAGAAAAACBJgAwAAAAAQJIAGQAAAACAJAEyAAAAAABJAmQAAAAAAJIEyAAAAAAAJAmQAQAAAABIEiADAAAAAJAkQAYAAAAAIEmADAAAAABAkgAZAAAAAIAkATIAAAAAAEkCZAAAAAAAkgTIAAAAAAAkCZABAAAAAEgSIAMAAAAAkCRABgAAAAAgSYAMAAAAAECSABkAAAAAgCQBMgAAAAAASQJkAAAAAACSBMgAAAAAACQJkAEAAAAASBIgAwAAAACQJEAGAAAAACBJgAwAAAAAQJIAGQAAAACAJAEyAAAAAABJAmQAAAAAAJIEyAAAAAAAJAmQAQAAAABIEiADAAAAAJAkQAYAAAAAIEmADAAAAABAkgAZAAAAAIAkATIAAAAAAEkCZAAAAAAAkgTIAAAAAAAkCZABAAAAAEgSIAMAAAAAkCRABgAAAAAgSYAMAAAAAECSABkAAAAAgCQBMgAAAAAASQJkAAAAAACSBMgAAAAAACQJkAEAAAAASBIgAwAAAACQJEAGAAAAACBJgAwAAAAAQEII/xcMEGDYYF8nogAAAABJRU5ErkJggg==" alt="avatar">
搞定
Docker学习笔记-CentOS7镜像的更多相关文章
- Docker学习笔记--2 镜像的创建
如果我们需要在Docker环境下部署tomcat.redis.mysql.nginx.php等应用服务环境,有下面三种方法: 1,根据系统镜像创建Docker容器,这时容器就相当于是一个虚拟机,进入容 ...
- Docker学习笔记之镜像与容器
0x00 概述 镜像和容器作为 Docker 里最基础的概念,我们很有必要了解 Docker 对它们的很多定义以及其他与它们有关的知识.在这一小节里,我们就专门针对镜像与容器两个概念展开,细致的梳理与 ...
- docker学习笔记2--对镜像/容器的命令操作
Docker启动一个Centos镜像 我们下载完成一个Centos镜像之后,开始启动 docker run -d -i -t <imageID> /bin/bash 这样就能启动一个一直停 ...
- Docker学习笔记:镜像、容器、数据卷
核心概念 镜像:一个只读的模板,类似虚拟机的镜像. 容器:可以理解为镜像的一个运行实例.运行时类似于沙箱,多个容器互相独立. 仓库:存放镜像文件的地方. 镜像 命令表格 命令 解释 选项 docker ...
- docker学习笔记-常用镜像相关命令
docker images # 1.使用 [root@iZbp13qr3mm4ucsjumrlgqZ ~]# docker images REPOSITORY TAG IMAGE ID CREATED ...
- Docker学习笔记之--安装mssql(Sql Server)并使用Navicat连接测试(环境:centos7)
前一节演示如何使用Nginx反向代理 .net Core项目容器,地址:Docker学习笔记之-部署.Net Core 3.1项目到Docker容器,并使用Nginx反向代理(CentOS7)(二) ...
- Docker学习笔记之--.Net Core项目容器连接mssql容器(环境:centos7)
前一节演示在docker中安装mssql,地址:Docker学习笔记之--安装mssql(Sql Server)并使用Navicat连接测试(环境:centos7) 本节演示 .Net Core项目容 ...
- Docker学习笔记之--.Net Core应用容器通过网桥连接Redis容器(环境:centos7)
上节演示通过应用容器连接sql server容器,连接:Docker学习笔记之--.Net Core项目容器连接mssql容器(环境:centos7) 本节演示安装 redis容器,通过网桥连接 先决 ...
- Docker学习笔记之-部署.Net Core 3.1项目到Docker容器,并使用Nginx反向代理(CentOS7)(一)
上一节演示如何安装Docker,链接:Docker学习笔记之-在CentOS中安装Docker 本节演示 将.net core 3.1 部署到docker容器当中,并使用 Nginx反向代理,部署平台 ...
随机推荐
- mysql 悲观锁与乐观锁的理解
悲观锁与乐观锁是人们定义出来的概念,你可以理解为一种思想,是处理并发资源的常用手段. 不要把他们与mysql中提供的锁机制(表锁,行锁,排他锁,共享锁)混为一谈. 一.悲观锁 顾名思义,就是对于数据的 ...
- 把Excel作为数据库,读到DataTable中,Excel科学计数法数字转字符串
需要引用:using System.Data.OleDb; /// <summary> /// 获取Excel数据,包含所有sheet /// </summary> /// & ...
- dotnet run 提示System.Net.Sockets.SocketException (10049): 在其上下文中,该请求的地址无效。
更换端口号试一下. 查看官方文档 PS: 使用帮助命令 -h,可以指定启动配置文件: dotnet run --launch-profile xxx 例如下面的配置文件,假如我们要使用codes-t ...
- 10.spring-boot基于角色的权限管理页面实现
10.spring-boot基于角色的权限管理页面实现
- How to change system keyboard keymap layout on CentOS 7 Linux
The easiest way to swap between keymaps and thus temporarily set keys to different language by use o ...
- Python处理word文件
python对word文件进行读写和复制 import win32conimport win32com.clientimport os #读取word文件def readWoldFile(path): ...
- macOS HomeBrew更换源 brew常用命令说明
homebrew本身就是一个git仓库.使用homebrew安装软件包时,会自动先下载软件包,然后解压安装,但有时候下载会卡住,或者很慢,这个时候有以下几种方法: 1.临时的终止update,先con ...
- js实现一个简单的登录页面
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8" ...
- AX2009 批处理作业中使用多线程---顶级采摘
顶级采摘 是前两种模式的一种混合,使用使用实体表存储单任务模式那样的每个工单,任务每次都取顶行做操作.单任务数不想单任务模式,一个工单一个任务.而是类似批量捆绑那样设置任务数.表:demoTopPic ...
- python 09 文件操作
一 流程: #1. 打开文件,得到文件句柄并赋值给一个变量 #2. 通过句柄对文件进行操作 #3. 关闭文件 二 例子 #1. 打开文件,得到文件句柄并赋值给一个变量f=open('a.txt','r ...