Skip to main content

List the containers of the host

GET 

/api/node/:hostname/docker

Reads each container through gohai's docker collector, which runs docker ps and docker inspect. state limits the list to the running or the stopped ones. A host whose docker does not answer reports skipped. The environment of a container shows only the names of its variables: osapi never reads their values.

Request​

Responses​

Each target host's result.