Difference between revisions of "Platform"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[docker build --platform]] | [[docker build --platform]] | ||
+ | [[docker run --platform]] | ||
+ | |||
+ | [[docker build]] [[--platform]]=linux/[[arm64]] . | ||
+ | docker build --platform=linux/[[amd64]] . | ||
[[docker run]] | [[docker run]] | ||
Line 8: | Line 12: | ||
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 | ||
+ | ansible.builtin.[[set_fact]] | ||
+ | == Related == | ||
+ | * [[Platform enginner]] | ||
+ | |||
+ | == See also == | ||
* {{docker run}} | * {{docker run}} | ||
+ | |||
+ | [[Category:Docker]] |
Latest revision as of 10:26, 7 March 2024
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
ansible.builtin.set_fact
Related[edit]
See also[edit]
Advertising: