一篇文章说完Docker

一、基础环境

⚫ OCI:Open Container Initiative的简称,由Linux基金会主导开发OCI规范和标准,目的是
围绕容器格式和Runtime(运行时)制定的一个开放的工业化标准。
⚫ Containerd:Docker为了兼容OCI标准,将容器Runtime及其管理功能从Docker守护进程中
剥离出来,用于不启动Docker也能直接通过Containerd来管理容器。
⚫ RunC:Docker按照OCF(Open Container Format)开放容器格式标准制定的一个轻量级
工具,可以使用RunC不通过Docker引擎即可实现容器的启动、停止和资源隔离等功能。 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

二、环境配置

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

fix:

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

三、Docker基础命令

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

1. 搜索容器文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

2. 拉取镜像

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

3. 查看本地镜像

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

4. 进入容器

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

5. 端口映射

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/cloud/about-config-docker/

6. 显示所有容器

四、DockerFile编写

五、Docker镜像优化

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onAugust 3, 2024
  • 原文链接:https://note.t4x.org/cloud/about-config-docker/
匿名

Comment

Anonymous

Slide puzzle verification.