-
Hi, Thanks for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
All data in the containers that make up the pod will also exist on the host (the mounted filesystems for a root container, for example, live under I would recommend a Podman-managed named volume given this, mounted into both containers. It still does exist on the host's filesystem, but it's entirely managed by Podman and can be set to autoremove when the last container using it is removed. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help ! |
Beta Was this translation helpful? Give feedback.
All data in the containers that make up the pod will also exist on the host (the mounted filesystems for a root container, for example, live under
/var/lib/containers/storage
by default), with the possible exception oftmpfs
filesystems - and even then, it's trivial to join the mount namespace of the container, at which point you'll be able to see even these.I would recommend a Podman-managed named volume given this, mounted into both containers. It still does exist on the host's filesystem, but it's entirely managed by Podman and can be set to autoremove when the last container using it is removed.