nguyer / bedrock-server Goto Github PK
View Code? Open in Web Editor NEWMinecraft Bedrock Server on Docker
Minecraft Bedrock Server on Docker
Hi
I'm trying to get this working running on Windows 10 as the host. I've tried it with your image, and created one of my own, and I get the same error anytime I use volume to load the worlds (it works fine if I create a new world inside the container, but then obviously I would lose the world when the container closes).
I've tried minecraft is version 1.8.1.2 and 1.8.0.24 as well. I can run the 1.8.0.24 server locally outside of docker and it loads the worlds fine as well.
It works fine if the world files are local, but when I try and use an external volume for the world files it seems to crash. This happens even if it's a brand new world. It creates some files (so I know it's not a permissions issue) below when no world is specified:
Bedrock world/db/000006.log (0kb)
Bedrock world/db/CURRENT (1kb)
Bedrock world/db/LOCK (0kb)
Bedrock world/db/MANIFEST-000001 (1kb)
Bedrock world/db/lost/00003.log (0kb)
Bedrock world/db/lost/MANIFEST-000001 (1kb)
I run the container as so:
docker run --network=host --name=minecraft --volume=/C/Docker/Minecraft/worlds:/bedrock-server/worlds minecraft
The output from the container is as follow:
NO LOG FILE! - setting up server logging...
NO LOG FILE! - [2019-01-18 18:55:46 INFO] Starting Server
NO LOG FILE! - [2019-01-18 18:55:46 INFO] Version 1.8.1.2
[2019-01-18 18:55:46 INFO] Level Name: Bedrock level
[2019-01-18 18:55:46 INFO] Game mode: 0 Survival
[2019-01-18 18:55:46 INFO] Difficulty: 1 EASY
[2019-01-18 18:55:48 ERROR] Fatal error when loading level data, stopping server...
Quit correctly
If I delete the above world files and run again then they are just recreated.
The only reference I've found to this issue is on the Mojang bug tracker, but there doesn't look to be an easy solution?
Can you update the server to 1.11.4.2 please? and publish it?
Hi, thank you for this image, it is very helpful.
Can you please share / add some examples of configurations for the server.
Or add more links for them in the README.
I get the following error when running the docker command:
sudo docker run -d --name=minecraft -v '/minecraft/worlds:/bedrock-server/worlds' -v '/minecraft/server.properties:/bedrock-server/server.properties' --network host --restart=always nguyer/bedrock-server
47a3bb17525f5c12f37581fc31d57f5e072428d3fbf7a59a82d8c10b36010526
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting "/minecraft/server.properties" to rootfs at "/var/lib/docker/overlay2/7fc39eefbe43dcf6831a3a6ffbc1f439664f56e3a6acb8bfdc0c48769f978373/merged/bedrock-server/server.properties" caused: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.