Skip to content

Comments

re-use HostDirFromRoots for both local pulls and transfer service pulls#12661

Open
rpardini wants to merge 1 commit intocontainerd:mainfrom
rpardini:frak
Open

re-use HostDirFromRoots for both local pulls and transfer service pulls#12661
rpardini wants to merge 1 commit intocontainerd:mainfrom
rpardini:frak

Conversation

@rpardini
Copy link

  • move (and export) HostDirFromRoots to core/remotes/docker/config (together with HostDirFromRoot)
  • in transfer/registry, use filepath.SplitList() and use shared HostDirFromRoots
  • this fixes config_path = '/etc/containerd/certs.d:/etc/docker/certs.d' (the default) when used with the transfer service (also default)

@github-project-automation github-project-automation bot moved this to Needs Triage in Pull Request Review Dec 10, 2025
@dosubot dosubot bot added area/cri Container Runtime Interface (CRI) area/distribution Image Distribution labels Dec 10, 2025
@rpardini
Copy link
Author

@rpardini rpardini force-pushed the frak branch 2 times, most recently from 36614f7 to e9f947e Compare December 24, 2025 10:42
@dmcgowan dmcgowan moved this from Needs Triage to Needs Reviewers in Pull Request Review Jan 20, 2026
@dmcgowan dmcgowan added this to the 2.3 milestone Jan 20, 2026
@rpardini rpardini force-pushed the frak branch 2 times, most recently from 35ba67d to 9399317 Compare February 11, 2026 16:14
@rpardini rpardini force-pushed the frak branch 3 times, most recently from aeb6412 to 40a4ccb Compare February 20, 2026 23:22
- move (and export) `HostDirFromRoots` to core/remotes/docker/config (together with `HostDirFromRoot`)
- in transfer/registry, use `filepath.SplitList()` and use shared `HostDirFromRoots`
- this fixes `config_path = '/etc/containerd/certs.d:/etc/docker/certs.d'` (the default) when used with the transfer service (also default)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) area/distribution Image Distribution size/M

Projects

Status: Needs Reviewers

Development

Successfully merging this pull request may close these issues.

3 participants