Skip to content

Failure of attempting to delete a container that is not stopped #1774

@dongsupark

Description

@dongsupark

This is basically the same issue as the comment by @liangchenye.

According to the runtime spec, kill should be done by users before delete. However, runc delete actually implicitly kills the container. This is probably the reason why validation/delete.t in runtime-tools fails with an error message like

not ok 2 - attempting to delete a container that is not stopped MUST generate an error
{
  "reference": "https://github.com/opencontainers/runtime-spec/blob/v1.0.0/runtime.md#delete"
}

See also opencontainers/runtime-spec#958.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions