Difference between revisions of "Docker build --platform"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  docker build [[--platform]]=linux/[[arm64]]
 
  docker build [[--platform]]=linux/[[arm64]]
 
  docker build --platform=linux/[[amd64]]
 
  docker build --platform=linux/[[amd64]]
 +
 +
== Errors ==
 +
* <code>[[standard init linux.go:228: exec user process caused: exec format error]]</code>
 +
* <code>[[exec /usr/local/bin/docker-entrypoint.sh: exec format error]]</code>
  
 
== Related ==
 
== Related ==
* <code>[[standard init linux.go:228: exec user process caused: exec format error]]</code>
 
 
* <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>
* [[exec format error]]
 
  
 
== See also ==
 
== See also ==

Revision as of 07:54, 2 May 2023

Advertising: