Skip to content

Stopping paused containers #15853

Description

@cpuguy83

Right now the API will send an error when someone tries to call stop or kill on a paused container.
This is because signals alone don't do anything to processes that have been frozen by cgroup freezer.

However once the process is unfrozen the kernel will go ahead and send those signals.
We should be able to update the API to go ahead and send the requested signal to the container, then automatically unpause it.

This is better than asking the user to unpause it first as the container may be paused due to some bad behavior in the container.

Introducing this behavior would also allow us to remove the work-around added in #13304

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiAPIarea/runtimeRuntimekind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions