CODE: How do I run without privileged mode? #13053
Replies: 5 comments 3 replies
-
|
Does Line 65 in f422b2f |
Beta Was this translation helpful? Give feedback.
-
|
I am also curious about this. I currently am running Collabora in a Podman Pod with Nextcloud. This is configured using Podman Quadlets, and I have the rest of the containers in the pod running under a service user. This means the container is created by root but is run under an unprivileged user. I have applied the SECCOMP profile, but it appears that running rootless creates problems: |
Beta Was this translation helpful? Give feedback.
-
|
Sounds like that should be an issue, then: reading https://caolanm.blogspot.com/2024/08/linux-namespaces-and-collabora-online.html, in general we should run COOL in rootless mode just fine, unless the environment is configured in some unhelpful way. It would be ideal to know more about that failing environment, so unless that file access failure is the root of the problem, we would give a more helpful error message. I assume you didn't configure /opt/cool in some separate container volume where the user would no permissions to read/write. :-) |
Beta Was this translation helpful? Give feedback.
-
|
For Collabora I actually don't have any volumes set up. Here is the Podman Quadlet container file; it probably looks a lot different than you're used to with Docker tools but all of the settings should line to be easily reproducible. When the user option is enabled is when errors start popping up. I can make an issue if needed. |
Beta Was this translation helpful? Give feedback.
-
|
I'm experiencing the same issue with Ubuntu 24.04 LTS Server + Docker + Dokploy. What I've tried:
System info:
Setup: Logs: After reading the blog post about namespaces, I understand Ubuntu 24.04 has AppArmor restrictions, but even with Question: Is there additional configuration needed for Ubuntu 24.04 + Docker beyond what's documented? Or is this a known limitation with the Docker image on this platform? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried everything I can think of in my docker compose file but no matter what I do this appears in the log file:
The only way I have been able to enable this feature is to set privileged mode to true.
Beta Was this translation helpful? Give feedback.
All reactions