-
Notifications
You must be signed in to change notification settings - Fork 296
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
Permission issue running with podman #1650
Comments
What are the permissions of |
My permissions are set so that I own both as a non-root user:
When I run with
|
I would try it with your actual But anyway, if it works like Docker, you should be able to enter the container and poke around:
|
Thanks for iterating on this with me! If I use
If I use the command you provided above, I am able to enter the container. It looks like the permissions on the /data directory are being set to
EDIT: Realized that the command above wasn't actually mounting the right data directory. If I point to
|
I suggested mounting /data so that you could see at what point the permissions stop you from accessing contents. It looks like the problem is that /data doesn't have the o+x permission. My suspicion is that if you had that for all directories above yours, it would work. I would suggest debugging further with your admin. I don't think there's anything we can do in fMRIPrep to work around these limitations. |
Thank you so much. It turns out,
Thank you for all your help with this! |
Might've been a SELinux issue. What worked for me in similar situation was |
Hello from GPT4 era, even new Bing can't give this solution. This works well for using docker on Fedora. Many thanks to you. |
Right off that bat, I realize that this is meant to work with docker and singularity. However, I have read that podman is supposed to be a drop-in replacement for docker. I have a server running RHEL 8 and docker is not supported, but podman is. If this issue cannot be replicated with docker, it's probably not an issue with fmri prep.
That said: when I try to run the container, I am immediately getting a permission error:
This is my first time working with a container, so I am not sure how to debug/get any more useful information about what is going on while things are running or what the environment within the container looks like.
The text was updated successfully, but these errors were encountered: