itzg / itzg/docker-minecraft-bedrock-server
Connecting to terminal issues
- Dominant language
- Shell
- Stars
- 1.9k
- Forks
- 302
- Avg merge
- 2h 26m
- Merged PRs (30d)
- 2
Description
I am aware there are other issues about this, and I have tried al the options.
I'm running a the server on a docker container and using docker compose, my compose script is listed below:
version: "3"
services:
bedrock:
image: itzg/minecraft-bedrock-server
container_name: minecraft-bds
ports:
- "19132:19132/udp"
volumes:
- ./data:/data
environment:
EULA: "TRUE"
tty: true
stdin_open: true
restart: unless-stopped
dns:
- 1.1.1.1
I can access the console via SSH, but this is inconvenient as I have to type in my admin password every time. Usually on the first run the built in termina works, but then afterward it doesn't. It will work if I reset the device its running on however. I'm not too sure what I'm doing wrong, its obviously not shutting down correctly or something.
Contributor guide
Research direction
Start with the docker-compose configuration in the issue, especially the tty and stdin_open settings, and compare the first-run behavior with later container restarts. Reproduce the built-in terminal failure and use the SSH console to determine whether the container remains interactive; done means identifying a reproducible cause and documenting a working configuration or fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, shell
- Domain
- cli, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100