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
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.
The text was updated successfully, but these errors were encountered:
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 byroot
. The problem is that when thezookeeper
andkafka
containers try to start, theappuser
user (UID 1000) doesn't havewrite 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.The text was updated successfully, but these errors were encountered: