-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Run python docker_image_puller.py -i mekayelanik/samba-server-alpine:latest -a arm64 -q --debug
2026-01-09 07:06:0[4](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:5),599 INFO: 欢迎使用 Docker 镜像拉取工具 v1.2.0
2026-01-09 07:06:04,[5](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:6)99 DEBUG: 获取认证信息 CURL 命令: curl 'https://registry-1.docker.io/v2/'
2026-01-09 07:06:04,728 DEBUG: 获取认证头 CURL 命令: curl 'https://auth.docker.io/token?service=registry.docker.io&scope=repository:mekayelanik/samba-server-alpine:pull'
2026-01-09 07:06:04,836 DEBUG: 获取镜像清单 CURL 命令: curl 'https://registry-1.docker.io/v2/mekayelanik/samba-server-alpine/manifests/latest' -H 'Authorization: ***' -H 'Accept: application/vnd.docker.distribution.manifest.v2+json'
202[6](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:7)-01-09 07:06:04,946 DEBUG: 获取镜像清单 CURL 命令: curl 'https://registry-1.docker.io/v2/mekayelanik/samba-server-alpine/manifests/latest' -H 'Authorization: ***' -H 'Accept: application/vnd.docker.distribution.manifest.v2+json'
2026-01-09 0[7](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:8):06:05,055 DEBUG: 当前可用架构:amd64, 386, arm64, arm, arm, riscv64, ppc64le, s390x
2026-01-09 07:06:05,055 DEBUG: 获取架构清单 CURL 命令: curl 'https://registry-1.docker.io/v2/mekayelanik/samba-server-alpine/manifests/sha256:9ce6baef39a630294929e5a629dccbbde5959a764f13dfaa41206b05575edea3' -H 'Authorization: ***' -H 'Accept: application/vnd.docker.distribution.manifest.v2+json'
2026-01-09 07:06:05,206 INFO: 仓库地址:registry-1.docker.io
2026-01-09 07:06:05,207 INFO: 镜像:mekayelanik/samba-server-alpine
2026-01-09 07:06:05,207 INFO: 标签:latest
2026-01-09 07:06:05,207 INFO: 架构:arm64
2026-01-09 07:06:05,207 INFO: 开始下载
2026-01-09 07:06:05,207 DEBUG: 下载 Config: 161e574ee6[8](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:9)07bd63bd0120ea3a6fbe800f7ef66e9c7e0a7b4553fba545b092f.json
Config: 0%| | 0.00/3.85k [00:00<?, ?B/s]
Config: 100%|██████████| 3.85k/3.85k [00:00<00:00, 22.1MB/s]
2026-01-0[9](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:10) 07:06:05,561 INFO: ✅ Config 校验成功
2026-01-09 07:06:05,562 INFO: ✅ Config 下载完成
sha256:e8981: 0%| | 0.00/3.76M [00:00<?, ?B/s]
sha256:e8981: [10](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:11)0%|██████████| 3.76M/3.76M [00:00<00:00, 53.3MB/s]
2026-01-09 07:06:06,006 INFO: ✅ sha256:e8981 校验成功
2026-01-09 07:06:06,006 INFO: ✅ sha256:e8981 下载完成
sha256:37030: 0%| | 0.00/22.4M [00:00<?, ?B/s]
sha256:37030: 4%|▎ | 795k/22.4M [00:00<00:02, 7.59MB/s]
sha256:37030: [12](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:13)%|█▏ | 2.74M/22.4M [00:00<00:01, 14.4MB/s]
sha256:37030: 42%|████▏ | 9.43M/22.4M [00:00<00:00, 38.1MB/s]
sha256:5bc6c: 0%| | 0.00/22.6k [00:00<?, ?B/s]
sha256:5bc6c: 100%|██████████| 22.6k/22.6k [00:00<00:00, 58.5MB/s]
2026-01-09 07:06:06,603 INFO: ✅ sha256:5bc6c 校验成功
2026-01-09 07:06:06,603 INFO: ✅ sha256:5bc6c 下载完成
sha256:37030: 82%|████████▏ | [18](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:19).3M/22.4M [00:00<00:00, 54.7MB/s]
sha256:37030: 100%|██████████| 22.4M/22.4M [00:00<00:00, 50.3MB/s]
[20](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:21)26-01-09 07:06:06,729 INFO: ✅ sha256:37030 校验成功
2026-01-09 07:06:06,729 INFO: ✅ sha256:37030 下载完成
2026-01-09 07:06:06,730 ERROR: 程序运行过程中发生异常: Not a gzipped file (b'(\xb5')
2026-01-09 07:06:06,733 DEBUG: Traceback (most recent call last):
File "/home/runner/work/docker-pull-tar/docker-pull-tar/docker_image_puller.py", line 753, in main
download_layers(session, registry, repository, resp_json['layers'], auth_head, imgdir, resp_json, imgparts, img,
File "/home/runner/work/docker-pull-tar/docker-pull-tar/docker_image_puller.py", line 560, in download_layers
shutil.copyfileobj(gz, file)
File "/usr/lib/python3.12/shutil.py", line 203, in copyfileobj
while buf := fsrc_read(length):
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/gzip.py", line 3[24](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:25), in read
return self._buffer.read(size)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/_compression.py", line 68, in readinto
data = self.read(len(byte_view))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/gzip.py", line 527, in read
if not self._read_gzip_header():
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/gzip.py", line 496, in _read_gzip_header
last_mtime = _read_gzip_header(self._fp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/gzip.py", line 456, in _read_gzip_header
raise BadGzipFile('Not a gzipped file (%r)' % magic)
gzip.BadGzipFile: Not a gzipped file (b'(\xb5')
20[26](https://github.com/ve3344/docker-pull-tar/actions/runs/20844105611/job/59883950259#step:5:27)-01-09 07:06:06,733 DEBUG: 清理临时目录: tmp
2026-01-09 07:06:06,739 DEBUG: 临时目录已清理。
按任意键退出程序...
Metadata
Metadata
Assignees
Labels
No labels