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

Allow to easily configure the containerd snapshotter with dind #477

Open
victornoel opened this issue Jan 29, 2024 · 1 comment
Open

Allow to easily configure the containerd snapshotter with dind #477

victornoel opened this issue Jan 29, 2024 · 1 comment

Comments

@victornoel
Copy link

victornoel commented Jan 29, 2024

Hi,

I am using docker:25-dind in my Gitlab CI pipeline to build images (following this guide: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker) and it is not possible in this situation to add or modify files from dind.

I would like to be able to use this feature: https://docs.docker.com/storage/containerd/#enable-containerd-image-store-on-docker-engine but there is no option for dockerd to enable the feature.

For now, I found a workaround by setting the environment variable TEST_INTEGRATION_USE_SNAPSHOTTER, which is originally how the moby project enable the feature when running their integration test 🙃 I would like instead to have an official way of doing that, either by improving the dind image, or if you tell me it's not possible, I will create an issue in the moby repository.

@tianon
Copy link
Member

tianon commented Jan 29, 2024

I totally agree: https://github.com/tianon/dockerfiles/blob/d3347e43ce001c98954b38fef5d894cc77742842/docker-master/Dockerfile.containerd 😭
(for my personal tianon/docker-master images, I maintain a whole second Dockerfile just to enable the containerd snapshotter correctly 😅)

@thaJeztah do you know if there's already an open issue for enabling "features" via flags to dockerd? 👀

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

2 participants