Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 568 Bytes

build-multi-arch-docker-image.md

File metadata and controls

18 lines (14 loc) · 568 Bytes

构建多架构支持的Docker镜像

前置条件

首先在Linux x86_64构建miaoyc/x86镜像,并在Linux arm64中构建miaoyc/arm64镜像,构建好之后推送到Docker仓库

打包方法

# create manifest
docker manifest create miaoyc/test miaoyc/x86 miaoyc/arm64
#  miaoyc/test 为混合架构镜像
docker manifest push miaoyc/test

参考文档