Skip to content
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

docker checkpoint rm does not actually remove the checkpoint files. #10166

Open
Yongqi-Zhuo opened this issue May 3, 2024 · 0 comments
Open
Labels

Comments

@Yongqi-Zhuo
Copy link

Yongqi-Zhuo commented May 3, 2024

Description

docker checkpoint rm does not remove the checkpoint files. For example, the current implementation uses /tmp/ctrd-checkpoint* as the fallback checkpoint directory. (code) In practice several thousand checkpoints will use up all the disk storage due to tmpfs being swapped to the disk.
IMG_2227

Steps to reproduce the issue

  1. docker checkpoint create CONTAINER ckpt --leave-running
  2. docker checkpoint rm CONTAINER ckpt
  3. Repeat this a few times and take a look at your /tmp.

Describe the results you received and expected

All the checkpoint files remain despite the docker checkpoint rm

What version of containerd are you using?

containerd containerd.io 1.6.31 e377cd5

Any other relevant information

No response

Show configuration if it is related to CRI plugin.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant