Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

run the Drill Docker container in detached mode will exit automatically

Open
#2,829 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker
Domain
devops

Research direction

Start with the linked “running Drill on Docker” documentation and the apache/drill container behavior shown by the detached and foreground commands. Inspect how the container invokes $DRILL_HOME/bin/drill-embedded and use the reported Killed log to compare both modes. Done means the documented detached command keeps the container running and foreground startup no longer exits unexpectedly.

Written by the indexing model from the issue text.

Description

bug

Drill version
latest (1.21.1)

Describe the bug
I am following the doc running drill in docker.

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.

Dominant language
Java
Stars
2k
Forks
989
Avg merge
1d 8h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/drill

All issues in apache/drill

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.