Expose bind mounts from one container to another in rootless mode #12890
-
/kind bug Can't expose fuse mounts from one container to another in rootless I got two test containers doing the same thing. The second container, however, is trying to mount the mounts from the first container using "--volumes-from" in rootless mode. The folder is created inside the second container, but nothing inside.
I can see the test1 directory in the test2 container, but theres nothing inside. I know exposing the mount to the host isn't possible in rootless mode: #10207 Output of
Output of
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md) Yes |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
you need to manually configure a mount on top of a parent of
|
Beta Was this translation helpful? Give feedback.
-
This is not an issue but a discussion on how to do something. |
Beta Was this translation helpful? Give feedback.
you need to manually configure a mount on top of a parent of
~/data/mount
from thepodman unshare
environment and make itshared
. Then you have to bind mount that parent you made shared inside the container. e.g.