为树莓派构建Docker Arm镜像

https://blog.cnscud.com/docker/2021/11/17/docker-buildx.html

关键命令:

docker buildx  version
docker buildx create --name mybuilder(or whatever name)
docker buildx use mybuilder(or whatever name)

 

docker buildx  ls
docker buildx build --platform linux/amd64,linux/arm64 -t dockerhub.domain.com/laonanblog:1.0 . --push
输入类似这样的地址 "name@something.com"
输入类似这样的地址"http://someaddress.com"
验证码 不区分大小写(看不清)