Closed AB-xdev closed 1 month ago
Definetly using force-compression=true
:
$ docker image prune -af
Total reclaimed space: 0B
$ time docker image pull xdevsoftware/mockserver:1.0.5
1.0.5: Pulling from xdevsoftware/mockserver
43c4264eed91: Pulling fs layer
...
ae79b5063a38: Pull complete
Digest: sha256:0a83dad90936b75beccc2126bc6ba5dbfd67cf6e954bce3f490c2103ac5810a7
Status: Downloaded newer image for xdevsoftware/mockserver:1.0.5
docker.io/xdevsoftware/mockserver:1.0.5
real 0m10.007s
user 0m0.075s
sys 0m0.121s
$ docker image prune -af
Deleted Images:
untagged: xdevsoftware/mockserver:1.0.5
...
Total reclaimed space: 199.3MB
$ time docker image pull xdevsoftware/mockserver:experimental
experimental: Pulling from xdevsoftware/mockserver
...
edba292b00c0: Pull complete
Digest: sha256:e87cd028aa31602ad3a39160e5e6f278f8f0ee737fd5f7e12662663c03c6dfce
Status: Downloaded newer image for xdevsoftware/mockserver:experimental
docker.io/xdevsoftware/mockserver:experimental
real 0m4.943s
user 0m0.030s
sys 0m0.106s
zstd
greatly reduces time required for extracting the Docker image and it's also a bit smaller as the defaultgzip
.