-
-
Notifications
You must be signed in to change notification settings - Fork 165
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 permission issue #1124
Comments
This isn't actually Bazzite issue, Podman works a little differently to Docker. I have adjusted your script so I could read it and got it running # add folder if folder doesn't exist
mkdir -p ~/containers/qbittorrent
# I've added :rw to the end of your volume mounts (it's a podman thing to make it read/writable)
podman run -it \
--name=qbittorrent \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Shanghai \
-e WEBUI_PORT=8081 \
-e TORRENTING_PORT=6881 \
-p 8081:8081 \
-p 6881:6881 \
-p 6881:6881/udp \
-v ~/containers/qbittorrent:/config:rw \
-v ~/Downloads/:/downloads:rw \
--restart unless-stopped \
lscr.io/linuxserver/qbittorrent:latest My output
|
This is likely an SELinux issue. You need to account for SELinux contexts when running a rootless container. At the end of each volume mount, you need to include Example: To test if it's SELinux, you could |
Thanks, including |
Describe the bug
Trying to run qbittorrent via podman using following command:
And I got permission error:
I also tried transmission container and got the same error.
While in my Archlinux machine running the same command didn't get any error. I'm not very familiar with podman, and don't know if it is a bazzite issue or podman issue or something I did wrong.
What did you expect to happen?
Podman running containers with no permission errors.
Output of
rpm-ostree status
Hardware
Asus ROG Ally
Extra information or context
No response
The text was updated successfully, but these errors were encountered: