Container
Wait for a container
Block until a container stops, then returns the exit code.
post/containers/{id}/wait
Path parameters
idstring required
ID or name of the container
Query parameters
condition'not-running' | 'next-exit' | 'removed'
Wait until a container state reaches the given condition.
Defaults to not-running if omitted or empty.
Response
The container has exit.
Changes
No changes recorded. 1 of the 6 revisions has no diff computed, so it could not be searched.