Skip to content

What does it mean to wait for the container's "next-exit"? #21828

Open
@cowwoc

Description

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

https://docs.docker.com/reference/api/engine/version/v1.47/#tag/Container/operation/ContainerWait reads:

condition | string
Default: "not-running"
Enum: "not-running" "next-exit" "removed"
Wait until a container state reaches the given condition. Defaults to not-running if omitted or empty.

Please explain how "next-exit" differs from "not-running".

Location

https://docs.docker.com/reference/api/engine/version/v1.47/#tag/Container/operation/ContainerWait

Suggestion

No response

Metadata

Assignees

No one assigned

    Labels

    area/apiRelates to Docker API docsarea/engineIssue affects Docker engine/daemonstatus/triageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions