Difference between revisions of "GitLab: DOCKER AUTH CONFIG"

From wikieduonline
Jump to navigation Jump to search
 
(7 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
 
  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]]
 
  [[~/.docker/config.json]]
Line 9: Line 22:
  
 
== See also ==
 
== See also ==
 +
* {{docker config}}
 
* {{GitLab}}
 
* {{GitLab}}
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Latest revision as of 07:56, 6 August 2022

Advertising: