Skip to content

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

Open
@cowwoc

Description

@cowwoc

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

Activity

docker-robot

docker-robot commented on Apr 22, 2025

@docker-robot

There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cowwoc@craig-osterhout

        Issue actions

          What does it mean to wait for the container's "next-exit"? · Issue #21828 · docker/docs