Retrieve Docker system information for a target
POST api/v2/jobs/rvc '{"method":"docker.system_info","hostnames":["<node_hostname>"]}'
Starts a SC//Reliantâ„¢ Virtual Controller (RVC) job to retrieve Docker system information for one or more targets, including the Docker version, the number of images, and the number of containers by state, both overall and split by whether they are managed by the cluster. The available targets are a node, node group, or saved filter. The response will indicate that the RVC job is created and is scheduled to run. You can use the job ID from the response to retrieve the job status and the payload.
In order to perform this action, the following conditions must be met:
- Must have the
Remote Job Executionfeature turned on at the site level. - The user must have the following capabilities:
Create and Update a RVC jobCall Docker read-only methods
Request syntax
post api/v2/jobs/rvc '{"method":"docker.system_info","hostnames":["<node_hostname>"]}'
Request parameters
The request accepts the following data in JSON format.
| Parameter | Type | Description | Required |
|---|---|---|---|
method | String | The RVC action to start. This value is specified as a combination of the RVC module and method. For example, to retrieve Docker system information you would specify the docker module and the system_info method combined as docker.system_info. | Yes |
hostnames | String array | The list of node hostnames on which to run the RVC job. | Dependent. Only if no node group or saved filter is provided. |
node_group_name | String | The name of the node group on which to run the RVC job. The RVC job will run on all nodes that are members of the node group. | Dependent. Only if no hostnames or saved filter is provided. |
node_group_id | Integer | The ID of the node group on which to run the RVC job. The RVC job will run on all nodes that are members of the node group. | Dependent. Only if no hostnames or saved filter is provided. |
saved_filter_name | String | The name of the saved filter on which to run the RVC job. The RVC job will run on all nodes that match the saved filter. | Dependent. Only if no hostnames or node group is provided. |
saved_filter_id | Integer | The ID of the saved filter on which to run the RVC job. The RVC job will run on all nodes that match the saved filter. | Dependent. Only if no hostnames or node group is provided. |
Response syntax
When the hostnames request parameter is used, the following response syntax is received.
{
"id": integer,
"type": "RVC3",
"status": "string",
"message": "string",
"trigged_by": "string",
"parameters": {
"method": "docker.system_info",
"params": {},
"update_rpm": boolean,
"hostnames": [
"string"
]
},
"time_started": "timestamp"
}
Response parameters
If the action is successful, an HTTP 200 response is returned. The following data is returned in JSON format.
| Field | Type | Description |
|---|---|---|
id | Integer | The ID of the RVC job. |
type | String | The type of RVC job. For RVC jobs, it is RVC3. |
status | String | The status of the job. |
message | String | This field is reserved for internal use. |
trigged_by | String | The username of the person who initiated the job. |
parameters | Object | The request parameters indicating the method, method parameters, and the hostnames, node groups, or saved filters the RVC job ran on. |
time_started | Timestamp | The timestamp indicating when the job started. The timestamp is given in ISO 8601 UTC datetime format. |
Errors
For a list of potential errors, see Troubleshooting RVC jobs and Common errors.
Examples
Example 1: Retrieve Docker system information for a node.
This example retrieves Docker system information for the node with hostname sit0001red0.
ruby api.rb <customer_code> POST api/v2/jobs/rvc '{"method":"docker.system_info","hostnames":["sit0001red0"]}'
Response
{
"id": 1781972,
"type": "RVC3",
"status": "pending",
"message": null,
"trigged_by": "test.user",
"parameters": {
"method": "docker.system_info",
"params": {},
"update_rpm": true,
"hostnames": [
"sit0001red0"
]
},
"time_started": "2026-10-11T21:19:03Z"
}
Example 2: Retrieving the payload from the RVC job.
This example retrieves the payload from RVC job ID 1781972.
ruby api.rb <customer_code> GET "api/jobs/1781972?include_payload=true"
Response
{
"id": 1781972,
"type": "RVC3",
"status": "finished",
"message": null,
"trigged_by": "test.user",
"success_nodes_count": 1,
"failed_nodes_count": 0,
"total_nodes_count": 1,
"parameters": {
"method": "docker.system_info",
"params": {},
"hostnames": [
"sit0001red0"
],
"update_rpm": true
},
"time_started": "2026-10-11T21:19:03Z",
"time_finished": "2026-10-11T21:19:03Z",
"payload": {
"sit0001red0": [
{
"result": {
"images": 4,
"version": "25.0.5",
"containers": {
"total": 3,
"paused": 0,
"running": 3,
"stopped": 0,
"cluster_managed": {
"total": 2,
"paused": 0,
"running": 2,
"stopped": 0
},
"non_cluster_managed": {
"total": 1,
"paused": 0,
"running": 1,
"stopped": 0
}
}
},
"timestamp": 1791753544
}
]
}
}