You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the container does not work in Rootless mode, since the container relies on file permissions for different users (www-data, mysql). Running in Rootless mode will set the owner for all mounted files and directories to rootinside the container if the mounted files on the host are owned by the user running the docker container.
When changing the owner on the host to e.g. www-data, the files inside the container will be owned by nobody:nogroup, since the files on the host are not owned by the user running the docker container.
Is there a chance to make the container work in Rootless mode?
The text was updated successfully, but these errors were encountered:
This also is an issue for those who use podman instead of docker. Something as simple as ports will not work at all since port 80 is a privileged port.
For Example:
podman run --name=ampache -d -v /totaly/not/porn/music:/media:ro -p 80:80 ampache/ampache
will error out with
Failed to bind port 80 (Permission denied) for option '-t 80-80:80-80', exiting
Doing the command
podman run --name=ampache -d -v /totaly/not/porn/music:/media:ro -p 8086:80 ampache/ampach
will make podman not complain but the interface is not accessible in a web browser
It seems this is a rootless issue from what i could find. So the issue the original poster posted is a bit wider than just a rootless docker.
Currently the container does not work in Rootless mode, since the container relies on file permissions for different users (
www-data
,mysql
). Running in Rootless mode will set the owner for all mounted files and directories toroot
inside the container if the mounted files on the host are owned by the user running the docker container.When changing the owner on the host to e.g.
www-data
, the files inside the container will be owned bynobody:nogroup
, since the files on the host are not owned by the user running the docker container.Is there a chance to make the container work in Rootless mode?
The text was updated successfully, but these errors were encountered: