Open danpolanco opened 8 years ago
If --volumes-from
had an option for an overlay/copy-on-write strategy, then that would be a really slick way to solve this. Until then a commit
could work to snap the live container and let you spin off an effective clone for mod testing. That wouldn't work if the /data
was mounted in the live one...so not totally robust.
What are your ideas for the equivalent manual process?
The pull req I submitted earlier for the minecraft-server container added the optional /mods read-only volume; the start script copies any mods found there into /data/mods before starting the server. This was intended for this sort of situation, where the world is provided by a zip file or a seed but you don't want to have a mounted /data. Maybe this can help?
Definitely @sshipway , even if not as a full blown host volume attachment (since Swarm/Carina may not allow for that) the /mods staging logic will be leveraged.
Rather than upload all of my different ideas, I'm just going to post them to my xmind profile. I'll still put up the ones I think are helpful.
Below, the most important part is the data vs daemon containers seen below World X.
I'm thinking this is a pretty heavy feature for 0.2. Gonna push it even further for now.
Typically I want to test new mods on my current world. Right now, I typically do it on the live world, which leads to down time. Perhaps something like this would work: