catthehacker / docker_images

Docker images
MIT License
212 stars 75 forks source link

failed to register layer: open /var/lib/dpkg/info/gcc-12-base:amd64.list: invalid argument #111

Closed justinTM closed 1 month ago

justinTM commented 11 months ago
$ docker pull ghcr.io/catthehacker/ubuntu:act-latest
act-latest: Pulling from catthehacker/ubuntu
bc049b7fc634: Extracting [==================================================>]  31.59MB/31.59MB
275ca953c1b8: Download complete 
e989fde0efbd: Download complete 
525b56a3bb8c: Download complete 
3bf0ff2153a6: Download complete 
4ca545ee6d5d: Download complete 
failed to register layer: open /var/lib/dpkg/info/gcc-12-base:amd64.list: invalid argument
ChristopherHX commented 11 months ago

Doesn't seem to be a problem with the image (-20230922 is the stable tag of the image version you had the issue, all layers have the same id).

$ docker pull ghcr.io/catthehacker/ubuntu:act-latest-20230922
act-latest-20230922: Pulling from catthehacker/ubuntu
bc049b7fc634: Pull complete 
275ca953c1b8: Pull complete 
e989fde0efbd: Pull complete 
525b56a3bb8c: Pull complete 
3bf0ff2153a6: Pull complete 
4ca545ee6d5d: Pull complete 
Digest: sha256:4b8d0ba3d5359923e2b730194185a372274c998532afd86d3346912e8311a37a
Status: Downloaded newer image for ghcr.io/catthehacker/ubuntu:act-latest-20230922
ghcr.io/catthehacker/ubuntu:act-latest-20230922

Is it a problem on your machine? As of now only your report exists for this problem.

$ docker version
Client:
 Version:           23.0.7+azure-1
 API version:       1.42
 Go version:        go1.19.12
 Git commit:        92955ed461e91154ed722ed831e9f22ea93fd7e9
 Built:             Wed Aug 23 12:04:52 UTC 2023
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          23.0.7+azure-1
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.19.12
  Git commit:       606a7a76949ec08cb26940037b1c71c0024c6b44
  Built:            Wed Sep  6 06:38:37 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.24-2
  GitCommit:        61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
 runc:
  Version:          1.1.9-1
  GitCommit:        ccaecfcbc907d70a7aa870a6650887b901b25b82
 docker-init:
  Version:          0.19.0
  GitCommit:        
justinTM commented 1 month ago

yeah it works now when i pull 20230922! not sure what the reason was. it's been a long time since i was on a chromebook and a windows laptop doing github stuff last year but switched to m1 mac on gitlab with gitlab-ci-local this year. thanks for replying!