首先在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
首先在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