Accessing host file system inside running pod #27177
Unanswered
elhananjair
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello friends, I want to access the host filesystem to directly use the file path and transfer data to the host file.
Currently, I am taking backups inside the file path of the container, and then using
podman cp
, I will copy the file to the host. Is there an easy way to directly access the host filesystem for such a purpose?Secondly, I want to run the command on one line instead of connecting to the container and then doing some operations, e.g.,
podman exec -ti pod_backend /bin/bash && cp file to host path
Beta Was this translation helpful? Give feedback.
All reactions