Similar feature was added for named overlay volumes here: https://github.com/containers/podman/pull/12712 Following PR just mimics similar feature for anonymous volumes. Often users want their anonymous overlayed volumes to be `non-volatile` in nature that means that same `upper` dir can be re-used by one or more containers but overall of nature of volumes still have to be overlay so work done is still on a overlay not on the actual volume. Following PR adds support for more advanced options i.e custom `workdir` and `upperdir` for overlayed volumes. So that users can re-use `workdir` and `upperdir` across new containers as well. Usage ```console podman run -it -v /some/path:/data:O,upperdir=/path/persistant/upper,workdir=/path/persistant/work alpine sh ``` Signed-off-by: Aditya R <arajan@redhat.com> |
||
---|---|---|
.. | ||
generate | ||
config_unsupported.go | ||
container_validate.go | ||
namespaces.go | ||
namespaces_test.go | ||
pod_validate.go | ||
podspecgen.go | ||
specgen.go | ||
specgen_test.go | ||
volumes.go | ||
winpath.go | ||
winpath_linux.go | ||
winpath_unsupported.go | ||
winpath_windows.go |