admin管理员组文章数量:1287833
Running Podman 5.2.2 with rootless containers.
Trying to mount a file inside of named volume.
I have an existing named volume "certbot-pvc" with a file in it at /live/some.example.tld/fullchain.pem that I need to mount to a file in another container, located at /etc/passbolt/certs/cert.pem
- I know we can bind mount to .path/on/host:/path/in/container, but I need to mount the file within a named volume. I have a certbot container that pulls the trusted certs and saves them to this volume. I can also mount the volume with "-v certbot-pvc:/path/in/container" - but this adds the path within the volume -> /live/some.example.tld/path/in/container - not to the desired path of /etc/passbolt/certs/fullchain.pem. Is this possible?
Usually the path in the named volume lines up with most web apps in other containers but passbolt's default config is looking in /etc/passbolt/certs to pickup the cert files. Thank you
本文标签: Can we bind mount a file within a named volume in PodmanStack Overflow
版权声明:本文标题:Can we bind mount a file within a named volume in Podman? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741325391a2372447.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论