docker.containers
Retrieves the running Docker containers on the host.
JSON-RPC Request
{"jsonrpc":"2.0","id":1,"method":"docker.containers"}
JSON-RPC Response
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"Command": "\"/docker-entrypoint.\"",
"CreatedAt": "2025-09-04 12:15:43 -0400 EDT",
"ID": "64ee8b437bc5",
"Image": "nginx",
"Labels": "maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>",
"LocalVolumes": "0",
"Mounts": "",
"Names": "nginx",
"Networks": "bridge",
"Ports": "0.0.0.0:8881->80/tcp",
"RunningFor": "3 days ago",
"Size": "0B",
"Status": "Up 3 days",
"cluster_managed": false
}
]
}
CLI Example
rvc docker containers
Response
Id Image Names Status In Cluster
---------------------------------------------------------------------------------------------------------------------------
64ee8b437bc5 nginx nginx Up 3 days no