Coder Social home page Coder Social logo

bedrock-server's People

Contributors

nguyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bedrock-server's Issues

Error when running docker container on Windows 10

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?

https://bugs.mojang.com/browse/BDS-211

Some examples of configurations

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.

error when mounting volumes on fedora33

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.