Skip to content

Unable to pull rancher/mirrored-pause as PodSandBox from a secured registry #4638

Answered by brandond
tobiasf88 asked this question in Q&A
Discussion options

You must be logged in to vote
  • mirrors determines endpoints for a registry
  • configs determines credentials and tls for an endpoint

You've asked to use docker-public.docker.XYZ.com as your local registry mirror, but haven't configured any credentials for it; you've only configured credentials for docker.io. If you want to provide credentials for your internal registry, you should specify it in the configs section:

mirrors:
  docker.io:
    endpoint:
    - https://docker-public.docker.XYZ.com
configs:
  docker-public.docker.XYZ.com:
    auth:
      username: USERNAME
      password: PASSWORD
      auth: BASICAUTH
      identity_token: ""
    tls:
      ca_file: ""
      cert_file: ""
      key_file: ""
      insecure_sk…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tobiasf88
Comment options

Answer selected by tobiasf88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4637 on December 03, 2021 20:07.