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

checkpoint: set default work-dir to image-path #3029

Merged
merged 1 commit into from
Jun 25, 2021

Commits on Jun 16, 2021

  1. C/R: let criu use its default if --work-path is not set

    Now runc puts dump/restore logs in c.root defaultly, which will be deleted
    when container exits. So if checkpinting/restoring failed, we can not get
    these logs and analyze why.
    
    This patch lets criu use its default if --work-path is not set:
     - Use WorkDirectory found in criu's configfile.
     - Use ImageDirectory.
    
    Signed-off-by: Liu Hua <weldonliu@tencent.com>
    Liu Hua committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    85aabe2 View commit details
    Browse the repository at this point in the history