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

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

Open
dongsupark opened this issue Apr 4, 2018 · 0 comments
Open

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

dongsupark opened this issue Apr 4, 2018 · 0 comments

Comments

@dongsupark
Copy link

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.

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

No branches or pull requests

2 participants