Fleet
Get the Docker label inventory for the active node
Changed onReturns every container on the node with its labels and provenance (compose, image, runtime, compose-system, or unknown), plus an inverted byLabel index. Marks partial when a container or image inspect fails. Secret-like values are redacted unless the caller is an admin and passes reveal=1. Requires node:read permission.
get/api/system/container-labels
Request
- Base URLhttps://localhost:1852
- URLhttps://localhost:1852/api/system/container-labels
- AuthHTTP bearer
Query parameters
reveal'1' | 'true'
Headers
x-node-idinteger
Example:1
Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.
Response
Node container label inventory.
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
////to the response with the status
- info
- info
endpoint added
- info