Container

Block until a container stops, then returns the exit code.

Changed on
post/containers/{id}/wait

Request

  • Base URL
    /v1.24 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idstring required

ID or name of the container

Response

The container has exited.

StatusCodeinteger required

Exit code of the container

Errorstring

The error message of waiting container

Changes