-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Add support for configuring the upper directory of a docker container under a given directory #47914
Comments
Any updates ? This is quite important for us. I have a solution to make it work, but it is racy. I can also work on contributing this. |
Hey @thaJeztah @GordonTheTurtle Any updates ? |
There are no plans to support that. |
Thanks @vvoland . Do you have docs to create a custom snapshotter ? |
The best way to understand how to create it is to take a look at the containerd code and implementations of the existing snapshotters:
You might also find some write-ups searching for |
Description
When sending a docker spec to the deamon to create a new container, I would like to be able to specifiy how the deamon GraphDriver should place the upper dir of the container overlay.
This would enable me to isolate the upper dir of the user container on a different partition.
I managed to write a bash script to do this, but I can't exclusively place a container on a different partition as the
/var/lib/docker/image/overlay2/imagedb/content/sha256/
and/var/lib/docker/containers/
are empty when I am doing the bind mounting.I would really like to avoid to have to write my own GraphDriver Plugin: https://docs.docker.com/engine/extend/plugins_graphdriver/
I would really appreciate some help.
The text was updated successfully, but these errors were encountered: