Replies: 2 comments
-
I think I was reading docker has or it will have a feature to suspend a container with its memory state to disk. It would be nice to have mc-router invoke an API on docker to manage that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Found this docker command: https://docs.docker.com/reference/cli/docker/checkpoint which will save the memory to disk and load back from there on startup. Although it is an experimental feature for now, but maybe worth a shot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all.
I have a small home server with a couple minecraft worlds playing with my family. Most of the time they are just sitting there auto-paused, consuming 2G memory each. Wondering if it is technically possible to hibernate the server process as such windows hibernate its whole system, writing out the memory content to a file and read back when the server is waking up.
I know (if it would be possible) there would be a much greater startup delay, but would be more resource friendly (at least in my case).
Another way would be to automatically shut down / restart the container.
In my case I use mc_router as well and maybe that or a similar container could monitor each instance (and client connections) and start/stop the containers accordingly.
Beta Was this translation helpful? Give feedback.
All reactions