Difference between revisions of "GitLab: DOCKER AUTH CONFIG"

From wikieduonline
Jump to navigation Jump to search
(Created page with " DOCKER_AUTH_CONFIG")
 
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  DOCKER_AUTH_CONFIG
+
  DOCKER_AUTH_CONFIG  
 +
https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#option-3-use-docker_auth_config
 +
 
 +
 
 +
Example: <ref>https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers</ref>
 +
{
 +
  "[[credHelpers]]": {
 +
    "<aws_account_id>.dkr.ecr.<region>.amazonaws.com": "[[ecr-login]]"
 +
  }
 +
}
 +
 
 +
 
 +
[[ERROR: Preparation failed: Error response from daemon:]] Get https://registry-1.docker.io/v2/library/node/manifests/14: unauthorized: incorrect username or password (docker.go:143:0s)
 +
 
 +
 
 +
 
 +
[[~/.docker/config.json]]
 +
 
 +
== Related ==
 +
* [[Executor]]
 +
* <code>[[docker login]]</code>
 +
 
 +
== See also ==
 +
* {{docker config}}
 +
* {{GitLab}}
 +
 
 +
[[Category:GitLab]]

Latest revision as of 07:56, 6 August 2022

Advertising: