Difference between revisions of "Platform"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users 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]]
  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
 +
 
 +
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

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[edit]

See also[edit]

Advertising: