-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Checkpoint/Restore CLI #2191
Comments
cc: @adrianreber |
Initially my implementation was closer to what docker provides, but as the docker support has never left the experimental state, I do not think it is really important to provide the same interface. I am not really opinionated here. Whatever people think works better. |
It is true that Docker's checkpoint/restore functionality is still experimental (and it takes a long time for a PR to be merged in moby/docker-ce). I started the discussion because I thought that the ability to have a name associated with a checkpoint is useful, for example, when we want to periodically checkpoint a running container. However, podman also has the idea of |
It would be simple enough to add the podman checkpoint, but I will leave this up to @adrianreber |
Inconsistency alert: as mentioned above, there is no I'm not going to weigh in on whether or not |
Yes we need to fix this. These commands should only be available unde podman containers not as main line commands. |
I have opened #2460 to remove 'restore' as a command from 'podman'. It should now only be available as 'podman container checkpoint' and 'podman container restore'. |
@rst0git I am closing this for now. I think Podman's checkpoint/restore support is already better integrated and tested. As Docker's support was always hidden behind experimental I think it is not well known and not really necessary for Podman to support in the same way. The possibility to have multiple checkpoints of one container sounds interesting and might be a good idea to implement in the future. @edsantiago The inconsistency you reported has been resolved in #2460. |
The current Docker CLI for creating a checkpoint is:
and the CLI of podman is:
Some differences are:
podman container checkpoint
/docker checkpoint create
create
,rm
andls
--checkpoint-dir
.Would it be possible to redesign the CLI of podman to be compatible with the CLI of Docker?
The text was updated successfully, but these errors were encountered: