luoxiaohi opened a new issue, #2829: URL: https://github.com/apache/drill/issues/2829
**Drill version** latest (1.21.1) **Describe the bug** I am following the doc [running drill in docker](https://drill.apache.org/docs/running-drill-on-docker/#running-the-drill-docker-container-in-detached-mode). **To Reproduce** I want to run the Drill Docker container in detached mode, so I run this command: ``` docker run --name drill -p 8047:8047 -p 31010:31010 --detach apache/drill ``` as stated in the document, but the container exits automatically a few seconds later. Then, I try to run the Drill Docker Container in Foreground Mode: ``` docker run -it --name drill -p 8047:8047 -p 31010:31010 apache/drill ``` It starts correctly, but when I run `$ $DRILL_HOME/bin/drill-embedded` in the container, the container exits too, and it logs ``` apache drill> Killed ``` so I think maybe the problem lies in `$ $DRILL_HOME/bin/drill-embedded` this command. -- 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: dev-unsubscr...@drill.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org