Open
Description
In my docker-compose
file, I have a persistence volume configuration.
When the I run docker-compose up
, the folders are created if they don't already exist but they are owned by root
. The problem is that when the zookeeper
and kafka
containers try to start, the appuser
user (UID 1000) doesn't have write permissions
on these folders so the containers fail and exit.
To fix this, I have to "pre" create the folders and do a chown
to have them owned by the user with UID 1000 which is not very practical. It is even possible that this user doesn't exist.
Metadata
Assignees
Labels
No labels
Activity