minecraft-vanilla | Docker images for minecraft-vanilla | Continuous Deployment library
kandi X-RAY | minecraft-vanilla Summary
kandi X-RAY | minecraft-vanilla Summary
Docker images for minecraft-vanilla
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of minecraft-vanilla
minecraft-vanilla Key Features
minecraft-vanilla Examples and Code Snippets
Community Discussions
Trending Discussions on minecraft-vanilla
QUESTION
I'm trying to use this Vanilla Minecraft docker image to run a Minecraft server for friends, but can't seem to get its data to live beyond the lifetime of the container itself.
I am running on an Ubuntu host, and on that host I have created /opt/minecraft
where I'd like any outside-of-container persisted data to live.
To test my approaches I would:
- start the container (commands provided below with each approach I tried)
- join the server
- dig a circle around myself as an indicator that I've been there
- disconnect from the server
- stop the container
docker stop generated_name
- start the container again using the same command as above
- join the server again
- is the circle I dug still there / has the world changed?
I have yet to find an approach that doesn't lose my data. Here's what I've tried:
Approach 1: all in oneI tried just mounting /opt/minecraft
as /minecraft
in the container:
ANSWER
Answered 2017-Feb-24 at 17:18Your second approach should be totally fine to keep the world, at least that's how I'm doing that.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install minecraft-vanilla
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page