goldmann / docker-squash

Docker image squashing tool
MIT License
802 stars 107 forks source link

The following error is reported when docker-squash is executed: ERROR not enough values to unpack (expected 2, got 1) #246

Closed ssHuangV closed 10 hours ago

ssHuangV commented 1 month ago

The following error is reported when docker-squash is executed:

# docker-squash c9e095a01ea
2024-05-13 11:38:41,895 cli.py:142        ERROR not enough values to unpack (expected 2, got 1)
2024-05-13 11:38:41,895 cli.py:145        ERROR Execution failed, consult logs above. If you think this is our fault, please file an issue: https://github.com/goldmann/docker-squash/issues, thanks!

Here is the version information,

# pip3 list | grep docker
docker             6.1.3
docker-squash      1.2.0
# docker info
Containers: 19
 Running: 17
 Paused: 0
 Stopped: 2
Images: 15
Server Version: 18.09.0
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Hugetlb Pagesize: 2MB, 1GB (default is 2MB)
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7dc096cc3ae6c1f88303d9a9d2df832eb591bca1
runc version: 97e4870736359ea8de0a8763a2bd5ed480584582
init version: N/A (expected: )
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.18.0-147.5.1.6.h1071.eulerosv2r9.x86_64
Operating System: EulerOS 2.0 (SP9x86_64)
OSType: linux
Architecture: x86_64
CPUs: 32
Total Memory: 121.7GiB
Name: ceresb21eac
ID: QZST:2Z2I:JCO6:OHBW:GOJL:4GGV:RZJW:BUUM:G5KZ:ZTGT:M43L:M6JR
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 7.225.141.184
 harbor.turing-ci.hisilicon.com
 127.0.0.0/8
Registry Mirrors:
 https://08a5eaa43480b7e40f04c0007eef6a20.swr.cn-southwest-204-dev.myhuaweicloud.com/
Live Restore Enabled: true

tried to find the python SDK dependency version corresponding to the 18.09.0 version of docker, pip insyall docker==3.7.0, but still encountered various errors.

I would like to know an executable docker & docker-squash version dependency based on docker version 18.09.0

rnc commented 2 weeks ago

Can you rerun with the -v flag and provide a full log?