Difference between revisions of "GitLab: DOCKER AUTH CONFIG"
Jump to navigation
Jump to search
↑ https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers
(11 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]] | ||
+ | |||
+ | == Related == | ||
+ | * [[Executor]] | ||
+ | * <code>[[docker login]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{docker config}} | ||
+ | * {{GitLab}} | ||
+ | |||
+ | [[Category:GitLab]] |
Latest revision as of 07:56, 6 August 2022
DOCKER_AUTH_CONFIG https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#option-3-use-docker_auth_config
Example: [1]
{ "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[edit]
See also[edit]
docker config
,~/.docker/config.json, CredsStore, CredHelpers
- GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: