run the Drill Docker container in detached mode will exit automatically
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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/drill
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Needs: Triage Type: Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2760 ·