docker pull 指定 os arch

docker pull golang:1.17.0-alpine3.13 arch=darwin/arm64



https://registry.hub.docker.com/_/golang?tab=tags&page=1&ordering=last_updated&name=1.17



% docker pull golang:1.17.0-alpine3.13 Status: Downloaded newer image for golang:1.17.0-alpine3.13 docker.io/library/golang:1.17.0-alpine3.13



% docker run -it 72c505006516 /bin/sh

Building multi-arch docker images
https://lobradov.github.io/Building-docker-multiarch-images/#how-does-it-work



Category docker