Difference between revisions of "Docker build --platform"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  docker build [[--platform]]=linux/[[arm64]]
+
  docker build [[--platform]]=linux/[[arm64]] .
  docker build --platform=linux/[[amd64]]
+
  docker build --platform=linux/[[amd64]] .
  
 
== Errors ==
 
== Errors ==
Line 10: Line 10:
 
* <code>[[kubectl logs my-pod -c my-container]]</code>
 
* <code>[[kubectl logs my-pod -c my-container]]</code>
 
* <code>[[docker pull --platform]]</code>
 
* <code>[[docker pull --platform]]</code>
 +
* [[Dockerfile]]
  
 
== See also ==
 
== See also ==

Revision as of 11:32, 17 May 2023

Advertising: