Comments (9)
@nelsonblaha sounds like yours might be a different scenario, but would be glad to take you up on the documentation offer once I get the properties configuration mechanism in place.
It'll be good to create a separate issue for the permission denied errors. In that issue description can you describe how you're starting the container (like docker run
command line) and what the initial logs show? For comparison, a fresh container without /data
mounted to an external volume gives me:
time="2019-08-17T06:50:13Z" level=debug msg="Using /data to match uid and gid"
time="2019-08-17T06:50:13Z" level=debug msg="Resolved UID=0 from match path"
time="2019-08-17T06:50:13Z" level=debug msg="Resolved GID=0 from match path"
time="2019-08-17T06:50:13Z" level=debug msg="failed to read stdin" error=EOF
Downloading Bedrock server 1.12.0.28 ...
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2019-08-17 06:50:19 INFO] Starting Server
[2019-08-17 06:50:19 INFO] Version 1.12.0.28
[2019-08-17 06:50:19 INFO] Session ID e5cab791-67e6-4b29-9474-cf58edb5e603
[2019-08-17 06:50:19 INFO] Level Name: Bedrock level
[2019-08-17 06:50:19 INFO] Game mode: 0 Survival
[2019-08-17 06:50:19 INFO] Difficulty: 1 EASY
[2019-08-17 06:50:21 INFO] IPv4 supported, port: 19132
[2019-08-17 06:50:21 INFO] IPv6 not supported
[2019-08-17 06:50:21 INFO] IPv4 supported, port: 58085
[2019-08-17 06:50:21 INFO] IPv6 not supported
[2019-08-17 06:50:23 INFO] Server started.
from docker-minecraft-bedrock-server.
Looks like I just needed a fresh start. I had some junk in Portainer from a different repo's attempt at this. Sorry to muck up this issue.
from docker-minecraft-bedrock-server.
@ridwankustanto I have now enhanced the image with the ability to configure all of the server properties via environment variables. They are listed in this new section along with an example of a docker run
usage:
https://github.com/itzg/docker-minecraft-bedrock-server#server-properties
Let me know what type of information or tutorial would help to further make use of the new options.
from docker-minecraft-bedrock-server.
Good question. I really need to enhance this image to be more configurable like my Java edition image. After that change things would be stable enough to provide a tutorial.
In the meantime, a server.properties
can be pre-created in the volume attached to /data
that contains the config documented here
https://minecraft.gamepedia.com/Server.properties#Bedrock_Edition_3
from docker-minecraft-bedrock-server.
Possibly related: I get a bunch of permission denied errors to create various structures, as well as server.properties. I've tried it with and without a pre-existing server.properties
. I've also verified that the docker user has rwx access to the bound volume paths and even chown'd them for the docker user but no dice. Any ideas? I'll help write documentation
from docker-minecraft-bedrock-server.
...I have also added an example of deploying with Kubernetes
https://github.com/itzg/docker-minecraft-bedrock-server#deploying-with-kubernetes
Stay tuned for a Medium article where I'll describe how I deployed this to Google Cloud.
from docker-minecraft-bedrock-server.
@ridwankustanto I have now enhanced the image with the ability to configure all of the server properties via environment variables. They are listed in this new section along with an example of a
docker run
usage:https://github.com/itzg/docker-minecraft-bedrock-server#server-properties
Let me know what type of information or tutorial would help to further make use of the new options.
Thank you! I appreciate it.
from docker-minecraft-bedrock-server.
thanks, the enviroment variables work for me, but where does that leave server.properties file, do I/ can I/ should I edit that also?
from docker-minecraft-bedrock-server.
@bingobob , with the environment variable to property mapping support, it shouldn't be necessary to manually edit the server.properties. The mappings will only touch the property lines that correspond to set environment variables, so it can coexist with manual modifications.
FYI, if there's any property missing from the mapping, I (or a PR) can easily extend the mapping definitions in
https://github.com/itzg/docker-minecraft-bedrock-server/blob/master/property-definitions.json
from docker-minecraft-bedrock-server.
Related Issues (20)
- Server.properties command HOT 3
- Can't connect using domain HOT 1
- Try to install mods World Wide Animal HOT 1
- Investigate issues with mv command during version backup
- Looks like the release of 2024.1.0 is failing HOT 2
- How to get the latest version of 1.20.x.y ? HOT 1
- Oracle Cloud port or address fail HOT 2
- Too many open files on M2 Mac HOT 1
- PS4 can no longer find the Bedrock server HOT 2
- Server disconnect everyone every 30 min HOT 1
- Issues with certain blocks not being available for collections HOT 2
- Nintendo Switch bedrock server over LAN HOT 2
- /bin/sh: 1: /build/install-packages: not found HOT 1
- Could not connect: Outdated client! HOT 4
- Unknown errors using `@minecraft/server-net`. HOT 1
- Sever Property file generation seems to be incorrectly escaping special characters HOT 2
- Can't connect to the server HOT 8
- How to enable experiments? HOT 3
- Enter the world and Build terrain takes +2m when moving from overwold to neither HOT 4
- crash after some minutes on orange pi 5 (arm64) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-minecraft-bedrock-server.