Difference between revisions of "--platform"

From wikieduonline
Jump to navigation Jump to search
(Redirected page to Docker build)
Tag: New redirect
 
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#redirect [[docker build]]
+
[[docker build --platform]]
 +
[[docker pull --platform]]
 +
 
 +
 
 +
https://docs.docker.com/build/building/multi-platform/
 +
 
 +
[[linux/amd64]], [[linux/arm64]], or [[darwin/amd64]]
 +
[[arm64v8]]
 +
 
 +
no matching manifest for darwin/arm64 in the manifest list entries
 +
 
 +
[[docker inspect]] xxxxxx | grep Os
 +
        "Os": "linux",
 +
 
 +
no matching manifest for [[darwin/arm64]] in the [[manifest]] list entries
 +
 
 +
Error response from daemon: image with reference [[postgres:]]11.18-alpine was found but does not match the specified platform: wanted [[darwin/arm64]], actual: linux/arm64/v8
 +
 
 +
== Related ==
 +
* [[platform:]]
 +
* [[The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested]]
 +
* <code>[[docker cp]]</code>
 +
[[exited with code 137]]
 +
* https://docs.docker.com/compose/compose-file/compose-file-v2/#platform
 +
 
 +
== See also ==
 +
* {{platform}}
 +
* {{docker}}
 +
 
 +
[[Category:Docker]]

Latest revision as of 10:30, 19 February 2024

Advertising: