confluentinc / cp-docker-images

[DEPRECATED] Docker images for Confluent Platform.
Apache License 2.0
1.14k stars 703 forks source link

Docker images runt under root #220

Open jomach opened 7 years ago

jomach commented 7 years ago

Hi Guys,

Why do your images run unter root ? is this wanted ?

Regards J

arrawatia commented 7 years ago

You can run them as any user. For more details, see the test case for running the image with a random user : https://github.com/confluentinc/cp-docker-images/blob/3.1.x/tests/fixtures/debian/kafka/standalone-config.yml#L186-L208 https://github.com/confluentinc/cp-docker-images/blob/3.1.x/tests/test_kafka.py#L230-L231