Container
List processes running inside a container
Changed onOn Unix systems, this is done by running the ps command. This endpoint is not supported on Windows.
get/containers/{id}/top
Request
- Base URL/v1.57 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Path parameters
idstring required
ID or name of the container
Query parameters
ps_argsstring
The arguments to pass to ps. For example, aux
Response
no error
Changes
- breaking
removed the media type
application/jsonfor the response with the status - info
api tag
Containeradded - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
for the
queryrequest parameterps_args, default value-efwas removed - info
api tag
Containerremoved - info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking