moorkop / mccy-engine

Provides a web based "Minecraft Server as a Service" (MCaaS?) to deploy Minecraft server containers on any Docker Swarm cluster or standalone Engine instance.
Apache License 2.0
12 stars 4 forks source link

Set --rm=true on containers #4

Open sshipway opened 8 years ago

sshipway commented 8 years ago

I think it would make sense to have --rm=true on containers, so that they will clean up completely if an op does a /stop within the game. After all, once a container exits, it is unlikely you'll want to restart it with the same data, and if you do, you'd have run it from a mapped data drive.

itzg commented 8 years ago

As you've seen, right now there's support to stop and later start a container. Restarting a container is a more likely use case (pick up the latest stable server jar) or stopping completely, like what you described.