-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate containers #33
Comments
Note that the container does not have to be running. We can stop the container when the user logs out. It's possible, for example, to use |
Ah, you can also use
|
@sjackman what is exact issue arises? Why do we need to migrate it? When a server crashes? Do we need that for HackSeq? |
That's one possible use case, but not the one that I'm thinking of. The use case is when a user |
@sjackman Found the interesting feature of Docker: |
That's quite cool! Keep in mind though that we don't need to migrate a running container, only a stopped one. That should be much simpler, and should be possible using |
So, we need to migrate manually the data too. So, the above option may be easier. |
The data volumes will be mounted on a network file system, so don't need to be migrated between machines. |
Plan to migrate a stopped container: |
Option 1 -- save and load
Option 2 -- flocker (popular volume plugin)
Option 3 -- export and import
Option 4 -- commit as image and run
Option 5 -- multi-host persistence (shared, distributed storage) & consistent namespace
will see which one is best / most feasible |
If Option 5 multi-host persistence works over NFS, that may be the simplest solution. |
|
Here's a few interesting posts on this topic: Note that Could you try implementing the script for |
Problem: how to migrate a running container from one worker to another worker.
Flocker:?
https://github.com/ClusterHQ/flocker
The text was updated successfully, but these errors were encountered: