Difference between revisions of "Docker build --platform"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | docker build [[--platform]]=linux/[[arm64]] . | + | [[docker build]] [[--platform]]=linux/[[arm64]] . |
docker build --platform=linux/[[amd64]] . | docker build --platform=linux/[[amd64]] . | ||
Revision as of 11:33, 17 May 2023
docker build --platform=linux/arm64 . docker build --platform=linux/amd64 .
Errors
standard init linux.go:228: exec user process caused: exec format error
exec /usr/local/bin/docker-entrypoint.sh: exec format error
Related
See also
Advertising: