Difference between revisions of "Docker build --platform"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
[[docker build]] [[--platform]]=linux/[[arm64]] . | [[docker build]] [[--platform]]=linux/[[arm64]] . | ||
docker build --platform=linux/[[amd64]] . | docker build --platform=linux/[[amd64]] . | ||
− | + | [[docker build --help]] | |
[[docker build -t]] | [[docker build -t]] |
Revision as of 10:29, 19 February 2024
docker build --platform=linux/arm64 . docker build --platform=linux/amd64 . docker build --help
docker build -t
Errors
- exec format error
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: