potiuk commented on issue #17679:
URL: https://github.com/apache/airflow/issues/17679#issuecomment-900994751


   Before I reopen it, I need to know what error do you have when you configure 
user as root and what kind of modifications you've made. 
   
   I think you could have jumped to conclusion that it does not work. If you 
enter the container via "/bin/bash"  you will indeed get this error. But you 
should only enter the bash image via Airflow's image /entrypoint not via 
`/bin/bash`. This is the only way that can make it openshift-compatible and 
allow to run airflow as arbitrary user. You can see more what the entrypoint is 
doing in https://airflow.apache.org/docs/docker-stack/entrypoint.html
   
   `docker run -it <airflow_image> bash` as parameter will allow you to enter 
bash and utilising the entrypoint in the way that root user works (and all 
containers in the Helm Chart should use it).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to