docker构建多系统架构

manifest是什么,干什么用

manifest是一个文件,这个文件包含了有关于镜像信息,如层、大小和摘要。docker manifest命令还向用户提供附加信息,比如构建镜像的操作系统和体系结构。而manifest list是一个镜像清单列表,用于存放多个不同os/arch的镜像信息。我们可以创建一个manifest list来指向两个镜像(一个linux 64位和一个指向arm64位的镜像),然后对用户提供一个唯一的镜像名称。从Docker registry v2.3和Docker 1.10 开始,Docker hub就可以pull multi architecture Docker镜像了。

manifest list处理流程:

使用manifest创建多CPU架构的镜像:

复制代码
# 创建一个manifest list列表:
docker manifest create batman01/server_app batman01/server_app:v1

# 将创建好的manifest list 推到仓库中:
docker manifest annotate batman01/server_app batman01/server_app:v1 --os linux --arch amd64 --variant v8

# 查看仓库中创建好的manifest list:
docker manifest inspect batman01/server_app
相关推荐
阡陌..1 天前
Ubuntu 22.04 离线环境完全配置指南:从 GCC 到 NVIDIA 驱动再到 Samba 共享
linux·运维·ubuntu
方乐寺村1 天前
彩笔运维勇闯机器学习--拟合
运维·人工智能·机器学习
画中有画1 天前
pc浏览器网页如何实现自动化操作?
运维·自动化
重生的黑客1 天前
Linux 进程程序替换与自定义 Shell:从 exec 函数族到命令行解释器
linux·运维·服务器·shell
北极糊的狐1 天前
阿里云服务器-命令2-Linux 系统实时资源监视器 top 命令详解(进程级实时资源监控)
linux·运维·服务器
三言老师1 天前
clear与history历史命令管理实操
linux·运维·服务器·网络·centos
味悲1 天前
Linux 环境下 DNS 服务器搭建
linux·运维·服务器
扶疏5251 天前
Prometheus+Prometheus Adapter+metrics-server+Ingress实现k8s水平自动扩缩容(HPA)
容器·kubernetes·prometheus
greenbbLV1 天前
中小公司积分商城选型:SaaS与私有化优劣对比分析
大数据·运维·人工智能
张忠琳1 天前
【NPU】Ascend Docker Runtime v26.0.1 系统级架构分析
云原生·容器·kubernetes·npu·docker-runtime