[How do I | Can I] mount a path within a volume? #28577
Unanswered
Shadow8472
asked this question in
Q&A
Replies: 1 comment
-
|
Check out the Here is a minimal example Quote from podman run man page subpath: Mount only a specific subpath within the volume, instead of the whole volume. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use containerized Caddy in my homelab. One container insist on HTTPS for webUI access. I managed to establish through creative use of mounts, but I'd prefer to use one
certs.volumefor Caddy to mount, but I'd ideally like to mount the relevant certificate for each service.For example: I have Crafty Controller as a Minecraft server. I want to mount its self-signed certificate in
certs.volume/Crafty/and Vaultwarden atcerts.volume/Vaultwarden/, but not allow the two to see each others' stuff.I suppose I could just make a volume each, but that feels a bit tacky for my use case; I'd rather just mount the entire volume everywhere.
Beta Was this translation helpful? Give feedback.
All reactions