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

Permission Denied "Crash loop back off ..." #106

Closed rameshVeeramani closed 5 years ago

rameshVeeramani commented 5 years ago

Hi ,

Attempted to deploy the latest Landoop onto Openshift clusteer, but the deployment crashes and the log has the following error.. mkdir: cannot create directory ‘/var/run/zookeeper’: Permission denied mkdir: cannot create directory ‘/var/run/broker’: Permission denied mkdir: cannot create directory ‘/var/run/schema-registry’: Permission denied mkdir: cannot create directory ‘/var/run/connect’: Permission denied mkdir: cannot create directory ‘/var/run/connect’: Permission deniedfdafadf mkdir: cannot create directory ‘/var/run/connect’: Permission denied mkdir: cannot create directory ‘/var/run/rest-proxy’: Permission denisfed mkdir: cannot create directory ‘/var/run/coyote’: Permission denied mkdir: cannot create directory ‘/var/run/caddy’: Permission denied""

Can you please provide a resolution or workaround tfo the same . Thansk

andmarios commented 5 years ago

Hi @rameshVeeramani . This docker image is aimed for development and requires to be ran as the root user. Please adjust your Openshift cluster to allow the root user, or run it locally.

georgettica commented 4 years ago

@rameshVeeramani if you want I am currently trying to use fdd as a non-root container and want some feedback on it Look at PR #145