Difference between revisions of "Platform"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[docker build --platform]] | [[docker build --platform]] | ||
[[docker run --platform]] | [[docker run --platform]] | ||
+ | |||
+ | [[docker build]] [[--platform]]=linux/[[arm64]] . | ||
+ | docker build --platform=linux/[[amd64]] . | ||
[[docker run]] | [[docker run]] |
Revision as of 07:53, 13 July 2023
docker build --platform docker run --platform
docker build --platform=linux/arm64 . docker build --platform=linux/amd64 .
docker run WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Advertising: