docker.system-info
Retrieves Docker system information for the host: the Docker version, the number of images, and the number of containers by state. Container counts are given for all containers, and separately for containers that are managed by the cluster and containers that are not.
JSON-RPC Request
{"jsonrpc":"2.0","id":1,"method":"docker.system_info"}
Request Parameters
This method has no parameters.
JSON-RPC Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"version": "25.0.5",
"images": 4,
"containers": {
"cluster_managed": {
"running": 2,
"paused": 0,
"stopped": 0,
"total": 2
},
"non_cluster_managed": {
"running": 1,
"paused": 0,
"stopped": 0,
"total": 1
},
"running": 3,
"paused": 0,
"stopped": 0,
"total": 3
}
}
}
RVC CLI Example
rvc docker system-info
Response
Containers Running Paused Stopped Total
-----------------------------------------------------
Cluster Managed 2 0 0 2
Non Cluster Managed 1 0 0 1
All 3 0 0 3
Docker Version: 25.0.5
Images........: 4