Difference between revisions of "Docker build ."

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
<code>[[docker build]] .</code> <ref>https://docs.docker.com/engine/reference/commandline/build/</ref>
 
<code>[[docker build]] .</code> <ref>https://docs.docker.com/engine/reference/commandline/build/</ref>
  
== Example ==
+
== Errors ==
 
<pre>
 
<pre>
 
[+] Building 30.1s (3/3) FINISHED
 
[+] Building 30.1s (3/3) FINISHED
Line 10: Line 10:
 
  => => transferring context: 2B                                                                                                                                                                        0.0s
 
  => => transferring context: 2B                                                                                                                                                                        0.0s
 
  => ERROR [internal] load metadata for docker.io/library/node:10                                                                                                                                      30.0s
 
  => ERROR [internal] load metadata for docker.io/library/node:10                                                                                                                                      30.0s
------
 
> [internal] load metadata for docker.io/library/node:10:
 
------
 
failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/10": dial tcp xx.203.238.66:443: i/o timeout
 
 
</pre>
 
</pre>
 +
------
 +
  > [internal] load metadata for docker.io/library/node:10:
 +
------
 +
failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed
 +
to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/10":
 +
dial tcp xx.203.238.66:443: [[i/o timeout]]
 +
  
 
Related
 
Related

Revision as of 20:26, 6 February 2024

docker build . [1]

Errors

[+] Building 30.1s (3/3) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                                   0.0s
 => => transferring dockerfile: 190B                                                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => ERROR [internal] load metadata for docker.io/library/node:10                                                                                                                                      30.0s
------
 > [internal] load metadata for docker.io/library/node:10:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed 
to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/10": 
dial tcp xx.203.238.66:443: i/o timeout


Related

export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0
macOS: Preferences -> Experimental Features


Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Errors

  • => ERROR [internal] load metadata for docker.io/library/node:10 30.0s

Related

See also

  • https://docs.docker.com/engine/reference/commandline/build/
  • Advertising: