Add support for configuring the upper directory of a docker container under a given directory #47914
Labels
area/storage/overlay
area/storage
kind/feature
Functionality or other elements that the project doesn't currently have. Features are new and shiny
status/0-triage
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: