Commit 9724f1c
Add Docker image source selector with availability checking (#32)
* Initial plan
* Add Docker image selector feature with availability checking
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* Fix TypeScript interface and linting issues
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* Address code review feedback and improve image availability check
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* Add comprehensive documentation for Docker image selector feature
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* Fix image name parsing to handle multi-level registry paths correctly
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* Fix container startup issue and update image sources to support ghcr.io
- Fix JSON binding issue in startCourse API that prevented container startup
- Remove Chinese cloud mirror sources (Aliyun, Tencent, NetEase)
- Add GitHub Container Registry (ghcr.io) support
- Update documentation to reflect new image source configuration
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* Restore Aliyun mirror and add enhanced logging for image checks
- Add back Aliyun (阿里云镜像加速) to image sources
- Add detailed logging to checkImageExists for better debugging
- Update documentation to reflect Aliyun support
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* Fix image availability check timeout issues for ghcr.io
- Increase timeout from 30s to 60s for slower network conditions
- Add better error handling for timeout and TLS handshake errors
- Provide more user-friendly error messages (network timeout vs image not found)
- Improve logging for different failure scenarios
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
* feat: Add image source selector functionality and optimised environment checks
- Added image source availability checks supporting Docker Hub, ghcr.io and Aliyun ACR
- Optimised image selector UI to display current source labels and persist selections
- Improved environment check commands with added image source availability detection
- Refactored image reference processing logic to support multi-format image name resolution
- Updated documentation and screenshots, removing obsolete usage guide content
* add e2e
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sunny0826 <24563928+sunny0826@users.noreply.github.com>
Co-authored-by: Xudong Guo <guoxudong.dev@gmail.com>1 parent 2f22756 commit 9724f1c
File tree
17 files changed
+1166
-227
lines changed- cmd/check
- docker
- docs/images
- internal
- api
- check
- docker
- src
- components/business
- pages
- tests/playwright
17 files changed
+1166
-227
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
42 | 63 | | |
43 | 64 | | |
44 | 65 | | |
| |||
55 | 76 | | |
56 | 77 | | |
57 | 78 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 79 | + | |
| 80 | + | |
61 | 81 | | |
62 | 82 | | |
63 | | - | |
| 83 | + | |
64 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
65 | 96 | | |
66 | 97 | | |
| 98 | + | |
67 | 99 | | |
68 | 100 | | |
69 | | - | |
| 101 | + | |
70 | 102 | | |
71 | 103 | | |
72 | 104 | | |
| |||
77 | 109 | | |
78 | 110 | | |
79 | 111 | | |
80 | | - | |
81 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
| |||
267 | 274 | | |
268 | 275 | | |
269 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
270 | 281 | | |
271 | 282 | | |
272 | 283 | | |
| |||
361 | 372 | | |
362 | 373 | | |
363 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
364 | 382 | | |
365 | 383 | | |
366 | 384 | | |
| |||
384 | 402 | | |
385 | 403 | | |
386 | 404 | | |
387 | | - | |
388 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
389 | 410 | | |
390 | 411 | | |
391 | 412 | | |
| |||
1465 | 1486 | | |
1466 | 1487 | | |
1467 | 1488 | | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
0 commit comments