itzg / itzg/docker-minecraft-bedrock-server

Trying to update bedrock Minecraft server in Docker on macOS and load existing volume with Minecraft world we have been working on

Open
#466 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.9k
Forks
303
Avg merge
2h 26m
Merged PRs (30d)
2

Description

Hi

As noted, we have a bedrock server which needed updating. I couldn't figure out to update the existing container so made a new one. But I can't seem to load old volumes - it seems to keep creating new ones. Unfortunately, as I'm a bit of a novice - it's a bit of a mess with a bunch of containers and volumes. I've tried numerous times with ChatGPT assistance but seem to be going around in circles making new containers which generate new worlds/volumes.

Before I give up and lose the kids' world that we've been working on for a while - thought I'd ask here.

docker-compose.yml looks like this:

```
services:
minecraft:
image: itzg/minecraft-bedrock-server:latest
container_name: happy_blackburn
environment:
- EULA=TRUE
volumes:
- mc-bedrock-data:/data
ports:
- "19132:19132/udp"
volumes:
mc-bedrock-data:
```

But it just seems to create a new volume:
```

"Mounts": [
{
"Type": "volume",
"Source": "minecraft-server_mc-bedrock-data",
"Target": "/data",
"VolumeOptions": {}
}
```

If anyone can point me in the right direction, would be grateful!

Contributor guide

Open the contributing guide

Research direction

Start with the docker-compose.yml volume declaration and the container's Mounts output, then identify which existing containers and volumes contain the world data. Verify how Compose names and reuses mc-bedrock-data before changing the setup. Done means the updated Bedrock container mounts the existing world rather than creating a new one.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, game-dev, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.