CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 02:22:53 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/containerd/containerd.git
etag: W/"85fb9f4204225c7041f0b9699c554a9d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=yxDk9QQNtf6qrM7GME1Fzf0ud3LbWardisW3GHKJFMilmSajj21Y2erIcgTNTyMJr6JzPKpg103B0o2o4nG50Jz5OtjtIkp31GHCWn9ALpS%2BrUt5mUc1izAuPud64rcESJw%2FaTsi0dJ1ZCdWByOfBlz4PuwWhcHCyd6whVNQIxuZEdHbMWWjjrMt4IXjJGb24r2ufCxO7QviW0DasgHAlmfeg6ONTD4ZFa6CucFTfK5zvyI%2F9RUZPzVxp6Yi9%2Bl7wL6zLhH5TdjAfw2%2BFhDk1A%3D%3D--vqKS82QM8%2BTblt%2Bd--%2FFf01c3CMZmrSy1AiFn1yg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1832649683.1753755773; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 02:22:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 02:22:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CC1E:E5283:1D1ECB:2B0BF5:6888307D
Transfer: Registry: Enable to use registry configuration diretory · containerd/containerd@7a3b7fb · GitHub
Copy file name to clipboardExpand all lines: api/types/transfer/registry.pb.go
Copy file name to clipboardExpand all lines: api/types/transfer/registry.proto
Copy file name to clipboardExpand all lines: cmd/ctr/commands/images/pull.go
Copy file name to clipboardExpand all lines: cmd/ctr/commands/images/push.go
Copy file name to clipboardExpand all lines: core/transfer/registry/registry.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit 7a3b7fb
committed
Transfer: Registry: Enable to use registry configuration diretory
Currently transfer service isn't aware of configurations of hosts directory and
ctr's `--hosts-dir` doesn't work.
This commit fixes this issue by using `config.ConfigureHosts` instead of
`docker.ConfigureDefaultRegistries`.
This commit also fixes ctr to use this feature for "--hosts-dir" flag.
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>1 parent 7f0f49b commit 7a3b7fbCopy full SHA for 7a3b7fb
File tree
Expand file treeCollapse file tree
6 files changed
+124
-63
lines changedFilter options
- api
- types/transfer
- cmd/ctr/commands/images
- core/transfer/registry
Expand file treeCollapse file tree
6 files changed
+124
-63
lines changed+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7461 | 7461 |
| |
7462 | 7462 |
| |
7463 | 7463 |
| |
| 7464 | + | |
| 7465 | + | |
| 7466 | + | |
| 7467 | + | |
| 7468 | + | |
| 7469 | + | |
| 7470 | + | |
7464 | 7471 |
| |
7465 | 7472 |
| |
7466 | 7473 |
| |
|
api/types/transfer/registry.pb.go
Copy file name to clipboardExpand all lines: api/types/transfer/registry.pb.go+42-32Lines changed: 42 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
api/types/transfer/registry.proto
Copy file name to clipboardExpand all lines: api/types/transfer/registry.proto+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
cmd/ctr/commands/images/pull.go
Copy file name to clipboardExpand all lines: cmd/ctr/commands/images/pull.go+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 |
| |
137 | 140 |
| |
138 | 141 |
| |
|
cmd/ctr/commands/images/push.go
Copy file name to clipboardExpand all lines: cmd/ctr/commands/images/push.go+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
108 | 111 |
| |
109 | 112 |
| |
110 | 113 |
| |
|
core/transfer/registry/registry.go
Copy file name to clipboardExpand all lines: core/transfer/registry/registry.go+66-28Lines changed: 66 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
45 | 79 |
| |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
50 | 92 |
| |
51 |
| - | |
52 |
| - | |
| 93 | + | |
| 94 | + | |
53 | 95 |
| |
54 | 96 |
| |
55 | 97 |
| |
56 | 98 |
| |
57 | 99 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
| 100 | + | |
63 | 101 |
| |
64 |
| - | |
65 |
| - | |
66 | 102 |
| |
67 |
| - | |
68 |
| - | |
| 103 | + | |
| 104 | + | |
69 | 105 |
| |
70 | 106 |
| |
71 | 107 |
| |
72 |
| - | |
73 |
| - | |
| 108 | + | |
| 109 | + | |
74 | 110 |
| |
75 |
| - | |
| 111 | + | |
| 112 | + | |
76 | 113 |
| |
77 | 114 |
| |
78 | 115 |
| |
| |||
96 | 133 |
| |
97 | 134 |
| |
98 | 135 |
| |
| 136 | + | |
| 137 | + | |
99 | 138 |
| |
100 | 139 |
| |
101 | 140 |
| |
| |||
194 | 233 |
| |
195 | 234 |
| |
196 | 235 |
| |
| 236 | + | |
197 | 237 |
| |
198 | 238 |
| |
199 | 239 |
| |
| |||
203 | 243 |
| |
204 | 244 |
| |
205 | 245 |
| |
206 |
| - | |
207 |
| - | |
208 |
| - | |
209 |
| - | |
210 |
| - | |
| 246 | + | |
211 | 247 |
| |
212 | 248 |
| |
213 | 249 |
| |
214 | 250 |
| |
| 251 | + | |
215 | 252 |
| |
| 253 | + | |
| 254 | + | |
| 255 | + | |
216 | 256 |
| |
217 | 257 |
| |
218 | 258 |
| |
| |||
222 | 262 |
| |
223 | 263 |
| |
224 | 264 |
| |
225 |
| - | |
| 265 | + | |
226 | 266 |
| |
227 | 267 |
| |
228 | 268 |
| |
229 | 269 |
| |
230 | 270 |
| |
231 | 271 |
| |
232 |
| - | |
| 272 | + | |
233 | 273 |
| |
234 | 274 |
| |
235 | 275 |
| |
236 | 276 |
| |
237 | 277 |
| |
238 | 278 |
| |
239 |
| - | |
240 |
| - | |
241 | 279 |
| |
242 | 280 |
| |
243 | 281 |
| |
244 |
| - | |
| 282 | + | |
245 | 283 |
| |
246 | 284 |
| |
247 | 285 |
| |
|
You can’t perform that action at this time.
0 commit comments