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

podman doesn't create volume host dir when it doesn't exist. #10471

Closed
tmds opened this issue May 26, 2021 · 4 comments
Closed

podman doesn't create volume host dir when it doesn't exist. #10471

tmds opened this issue May 26, 2021 · 4 comments
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@tmds
Copy link
Contributor

tmds commented May 26, 2021

With docker:

$ docker run -v /tmp/doesntexist:/root busybox

This runs. /tmp/doesntexist is created.

With podman:

$ podman run -v /tmp/doesntexist:/root busybox
Error: statfs /tmp/doesntexist: no such file or directory
@rhatdan
Copy link
Member

rhatdan commented May 26, 2021

Yes, and we consider this a Bug in Docker. Since a simple typo can lead to a random directory being created on the host OS. We have rejected this before and believe it is the wrong behaviour.

Closed won't fix. BTW I was forced kicking and screaming to allow this for the Remote Compatible API.

@rhatdan rhatdan closed this as completed May 26, 2021
@tmds
Copy link
Contributor Author

tmds commented May 27, 2021

@rhatdan is there a doc that describes these known differences?

@rhatdan
Copy link
Member

rhatdan commented May 27, 2021

We don't concentrate as much on that as we used to, but the somewhat out of date document
https://github.com/containers/podman/blob/master/transfer.md covers some differences.

@domdomegg
Copy link
Contributor

(duplicate of #6234)

@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 Oct 18, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

3 participants