Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] podman run doesn't elaborate about named volumes #3811

Closed
cognition9144 opened this issue Aug 14, 2019 · 2 comments · Fixed by #3817
Closed

[doc] podman run doesn't elaborate about named volumes #3811

cognition9144 opened this issue Aug 14, 2019 · 2 comments · Fixed by #3817
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@cognition9144
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

Neither --volume nor --mount in here talk about named volumes. They only elaborate mounting a external data source with absolute path (which might be a cause of podman-compose attampts to create named volumes and bind mount them, and might lead to data loss).

In Docker, both -v and -m can mount named volumes. Just give it's name. Podman handles this the same way as well.

Describe the results you received:
No documentation here talks about how to mount named volumes

Describe the results you expected:
Elaborate how to use -v and -m in podman run to mount named volumes in a managed state.

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

(paste your output here)

Output of podman info --debug:

(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 14, 2019
@mheon
Copy link
Member

mheon commented Aug 14, 2019

Huh. Did we never modify the manpages when we added volumes? Hm.

This should be a simple fix, thanks for pointing this out.

@rhatdan
Copy link
Member

rhatdan commented Aug 14, 2019

@xcffl Interested in opening a PR with updated docs? PRs welcome...

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants