Commit 7652ce4
committed
feat(vmm): add OCI registry image discovery and pull support
Add ability for VMM to discover available guest images from an OCI
registry and pull them on-demand through the web UI. Images are pulled
in the background with status tracked server-side, surviving page
refreshes. The UI auto-refreshes every 3s while the registry panel
is open.
- New `image_registry` config field (e.g., "cr.kvin.wang/dstack/guest-image")
- New RPC: ListRegistryImages, PullRegistryImage
- Registry module: list tags via Docker Registry HTTP API v2, pull and
extract via `docker export`
- Background pull with pulling state in App memory
- UI: Image Registry button + dialog with pull/status per tag1 parent d46ba28 commit 7652ce4
File tree
12 files changed
+790
-16
lines changed- vmm
- rpc/proto
- src
- app
- ui/src
- composables
- templates
12 files changed
+790
-16
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
353 | 358 | | |
354 | 359 | | |
355 | 360 | | |
| |||
365 | 370 | | |
366 | 371 | | |
367 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
368 | 396 | | |
369 | 397 | | |
370 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
121 | 128 | | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
| 134 | + | |
| 135 | + | |
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
| |||
152 | 161 | | |
153 | 162 | | |
154 | 163 | | |
| 164 | + | |
155 | 165 | | |
156 | 166 | | |
157 | 167 | | |
| |||
172 | 182 | | |
173 | 183 | | |
174 | 184 | | |
175 | | - | |
| 185 | + | |
176 | 186 | | |
177 | 187 | | |
178 | 188 | | |
| |||
739 | 749 | | |
740 | 750 | | |
741 | 751 | | |
742 | | - | |
| 752 | + | |
743 | 753 | | |
744 | 754 | | |
745 | 755 | | |
| |||
854 | 864 | | |
855 | 865 | | |
856 | 866 | | |
857 | | - | |
| 867 | + | |
858 | 868 | | |
859 | 869 | | |
860 | 870 | | |
| |||
1115 | 1125 | | |
1116 | 1126 | | |
1117 | 1127 | | |
1118 | | - | |
| 1128 | + | |
1119 | 1129 | | |
1120 | 1130 | | |
1121 | 1131 | | |
| |||
0 commit comments