Mirantis / Mirantis/cri-dockerd

Pulling the image without credentials. Image: reg.xxx.lan:5000/xxx/pause:3.9

Open
#232 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.4k
Forks
356
Avg merge
4d 4h
Merged PRs (30d)
3

Description

version info and cmdline

# cri-dockerd --version
cri-dockerd 0.3.4 (e88b1605)
# systemctl cat cri-dockerd
...
ExecStart=/usr/local/bin/cri-dockerd \
    --container-runtime-endpoint unix:///var/run/cri-dockerd.sock \
    --network-plugin=cni \
    --cni-bin-dir=/data/kube/bin/ \
    --pod-infra-container-image=reg.xxx.lan:5000/xxx/pause:3.9

cri-dockerd cannot pull reg.xxx.lan:5000/xxx/pause:3.9

9月 05 15:43:00 xxx-PC cri-dockerd[27149]: time="2023-09-05T15:43:00+08:00" level=info msg="Pulling the image without credentials. Image: reg.xxx.lan:5000/xxx/pause:3.9"
9月 05 15:43:01 xxx-PC cri-dockerd[27149]: time="2023-09-05T15:43:01+08:00" level=info msg="Pulling the image without credentials. Image: reg.xxx.lan:5000/xxx/pause:3.9"
9月 05 15:43:02 xxx-PC cri-dockerd[27149]: time="2023-09-05T15:43:02+08:00" level=info msg="Pulling the image without credentials. Image: reg.xxx.lan:5000/xxx/pause:3.9"
9月 05 15:43:05 xxx-PC cri-dockerd[27149]: time="2023-09-05T15:43:05+08:00" level=info msg="Pulling the image without credentials. Image: reg.xxx.lan:5000/xxx/pause:3.9"
9月 05 15:43:05 xxx-PC cri-dockerd[27149]: time="2023-09-05T15:43:05+08:00" level=info msg="Pulling the image without credentials. Image: reg.xxx.lan:5000/xxx/pause:3.9"
.....

how to used credentials for pod-infra-container-image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report only identifies the cri-dockerd service command line and repeated image-pull logs; no source file or test is named. Start by tracing how cri-dockerd handles credentials for the configured pod-infra-container-image and determine the supported credential path. Done means the private image can be pulled with documented credentials, or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.