How to mount new volume(s) into my home folder with podman run(rootless)? #4891
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug ?
I really really want my firm to go away from docker and completely switch to rootless podman.... The only problem I have with rootless podman is that I can't mount new volumes in my own home folder? I asked Daniel Walsh 2 months-ish ago and he said that it should have been fixed in the master branch(I was using v1.6.2 on fedora 30 back then)
Now I am trying the same thing with podman v1.7.0 on Fedora 31 , but still without any success? Am I still doing something wrong?
Example that works with docker:
$ sudo docker run -v $HOME/neo4j/data:/data neo4j
What I try as rootless podman:
§ podman run --privileged -v $HOME/neo4j/data:/data neo4j
##error message:
Error: error checking path "/home/jonas/neo4j/data": stat /home/jonas/neo4j/data: no such file or directory
If i create the folders manually with my local user it works... but my users at my firm want to use the "--volume/-v" parameter to mount up new folders in their home folders...
PS: SELinux is temporarily disabled for troubleshoot purposes...
The text was updated successfully, but these errors were encountered: