一篇文章说完Docker

    Read

一、基础环境

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

二、环境配置

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

fix:

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

三、Docker基础命令

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

1. 搜索容器SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

2. 拉取镜像

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

3. 查看本地镜像

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

4. 进入容器

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

5. 端口映射

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

6. 显示所有容器

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

四、DockerFile编写

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/

五、Docker镜像优化

SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/SourceByrd's Weblog-https://note.t4x.org/cloud/about-config-docker/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on August 3, 2024
  • 原文链接:https://note.t4x.org/cloud/about-config-docker/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: