Difference between revisions of "Platform"
Jump to navigation
Jump to search
(Created page with "wikipedia:Platform") |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[wikipedia:Platform]] | [[wikipedia:Platform]] | ||
+ | |||
+ | [[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 == | ||
+ | * [[Platform enginner]] | ||
+ | |||
+ | == See also == | ||
+ | * {{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: