lensesio / fast-data-dev

Kafka Docker for development. Kafka, Zookeeper, Schema Registry, Kafka-Connect, , 20+ connectors
https://lenses.io
Apache License 2.0
2.02k stars 333 forks source link

fdd requires root privileges inside the container #141

Closed georgettica closed 4 years ago

georgettica commented 4 years ago

When trying to run fdd as a normal user (the one that supervisord uses) I am faced with a permissions error to create folders in the /run path.

Is passing the files located in /run to a different location a good idea?

I know this will allow running the container in systems that require non root privileges such as OpenShift and allow for better security for the container.

I tried to solve this through the slack channel via this link

Please help me with this.

I really want to use this container for my workload but didn't find a way around this

georgettica commented 4 years ago

As I am going through the Dockerfile it seems that I shouldn't change the permissions of the nobody user, so I will be creating a user for that and using him I will run fdd