Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker pull not Lazy pulling estargz image #1979

Open
sevetseh28 opened this issue Feb 16, 2025 · 0 comments
Open

Docker pull not Lazy pulling estargz image #1979

sevetseh28 opened this issue Feb 16, 2025 · 0 comments

Comments

@sevetseh28
Copy link

Hi, I've setup my Docker daemon to use the Stargz Snapshotter and the stargz storage driver. I can check that with docker system info:

ec2-user@ip-10-65-54-19 ~]$ docker system info
Client:
 Version:    24.0.5
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.0.0+unknown
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.7
    Path:     /usr/local/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 3
 Server Version: 24.0.5
 Storage Driver: stargz
  driver-type: io.containerd.snapshotter.v1
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 64b8a811b07ba6288238eefc14d898ee0b5b99ba
 runc version: 4bccb38cc9cf198d52bebf2b3a90cd14e7af8c06
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.1.92-99.174.amzn2023.aarch64
 Operating System: Amazon Linux 2023.4.20240611
 OSType: linux
 Architecture: aarch64
 CPUs: 2
 Total Memory: 15.31GiB
 Name: ip-10-65-54-19.ec2.internal
 ID: b0d0c3da-5e5e-4467-b38e-06221ac5990e
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

I have already built and push an estargz optimized image to ECR using Buildx during my pipeline with the estargz compression, but when I do docker pull I still see all images being pulled and extracted fully.
If I use ctr then I can see them lazily pulled.

Any ideas why using docker pull might not be triggering a lazy pull even though I've set it up to use Stargz Snapshotter?

Thank you!

@sevetseh28 sevetseh28 changed the title Docker pull not Lazy pulling estargz image Docker CLI pull not Lazy pulling estargz image Feb 16, 2025
@sevetseh28 sevetseh28 changed the title Docker CLI pull not Lazy pulling estargz image Docker pull not Lazy pulling estargz image Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant