Create local host directories for volume bind mount implicitly? #24386
Unanswered
polarathene
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been getting familiar with Quadlets. With Docker this is handled implicitly for
--volume
/-v
bind mounts or equivalentvolumes
/configs
incompose.yaml
.When providing a sample/reference Quadlet for your project or documentation, should the user be expected to create each local volume path themselves? Or would you add that into the Quadlet itself with something like this:
With
compose.yaml
I am familiar with being able to declare this file anywhere and run it, so for reproductions a relative host path for each volume can be run with acompose.yaml
at/tmp
for example, or thecompose.yaml
is part of a git project that can be cloned and run from there.With Quadlets, these are always managed in common locations rather than ad-hoc? Would you distribute them similar to
compose.yaml
in a git project? I assume using them from the git clone location would be a bit awkward if possible.Just checking what the expectation is from the podman community side. Are users more likely to manually copy the equivalent Quadlet file(s) to the standard locations Quadlet uses, and thus also check each Volume definition to make these bind mounts?
I am aware of named data volumes with
.volume
files, this question is more oriented towards how projects should support/document the local bind mount volumes scenario.Beta Was this translation helpful? Give feedback.
All reactions