[ https://issues.apache.org/jira/browse/DRILL-6346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539364#comment-16539364 ]
ASF GitHub Bot commented on DRILL-6346: --------------------------------------- paul-rogers commented on issue #1348: DRILL-6346: Create an Official Drill Docker Container URL: https://github.com/apache/drill/pull/1348#issuecomment-403997520 If running a server, we may want to let the Drillbit shutdown gracefully. To do this, intercept the `SIGTERM` coming into the container and forward it to the process. If the `start.sh` script `exec`s the Drillbit, then the Drillbit may handle the shutdown. Otherwise, you can have the `start.sh` [handle the SIGTERM](https://medium.com/@gchudnov/trapping-signals-in-docker-containers-7a57fdda7d86). The normal `drillbit.sh` script appears to do an `exec`, so the Drill server should end up as pid 1 (if your `start.sh` script does an `exec` to `drillbit.sh`.) But, check this in case anything has changed since we looked into this stuff for Drill-on-YARN. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Create an Official Drill Docker Container > ----------------------------------------- > > Key: DRILL-6346 > URL: https://issues.apache.org/jira/browse/DRILL-6346 > Project: Apache Drill > Issue Type: Improvement > Reporter: Timothy Farkas > Assignee: Abhishek Girish > Priority: Major > Labels: doc-impacting > Fix For: 1.14.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)