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

[release/1.6] allow client to remove created tasks with PID 0 #7816

Merged
merged 1 commit into from Dec 14, 2022

Commits on Dec 14, 2022

  1. allow client to remove created tasks with PID 0

    Fixes containerd#7357
    
    If a container is restored from a checkpoint that has a configuration
    error, the task for the restored container is created, but fails to
    start and is left in the state CREATED with a PID of 0. Before this
    change, the only way to remove this task was to find the PID of the shim
    monitoring the task and kill that process. Now, ctr t rm <task> will
    work on tasks that result in the CREATED state with PID 0.
    
    Signed-off-by: Gavin Inglis <giinglis@amazon.com>
    (cherry picked from commit 80839f1)
    Signed-off-by: Gavin Inglis <giinglis@amazon.com>
    ginglis13 committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    d659a4f View commit details
    Browse the repository at this point in the history