-
Notifications
You must be signed in to change notification settings - Fork 157
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
Rootless #330
Comments
I tried to run wallabag with the user-directive inside compose-file (like the redis-service). But the container does not start successfully - at first the entrypoint-script tries to write to folder /var/www/wallabag/app/config (this is not allowed for non-root user). I can solve this with mounting a host-folder to this path. The second issue is the call of su - this is also not allowed for non-root users. So it seems, we must rework the entrypoint-script and some concepts for folders and rights. |
Hello, I'm in the middle of migrating all of my docker services to rootless Podman. Today was the day of wallabag, and after a few hours of fiddling I finally managed to successfully run it (with sqlite backend). I'll describe the changes I made so they'll hopefully help you if you decide to create a proper image for rootless containers. There aren't many changes needed. First of all, I decided to let wallabag run as a root within a container. I think this is more user-friendly approach, because users don't have to learn about I've made a custom Containerfile which "inherits" from docker.io/wallabag. It reverses the
With these I was able to run wallabag with rootless Podman without any issues. Note that I was migrating existing installation, so I haven't tested if database creation works or if other commands (like "migrate" or "import") work, but I don't see why they wouldn't. |
Theres a rootless version? Maybe a way to just start using 'user' directive in docker-compose, lsio use PUID and PGID that is not compatible but works if you want to go this route more fast.
The text was updated successfully, but these errors were encountered: