docker.start

docker.start

Starts a Docker container on a host.

JSON-RPC Request

{"jsonrpc":"2.0","id":1,"method":"docker.start","params":{"name":"<container_name>"}}

Request parameters

ParameterDescription
nameThe name of the Docker container to start.

JSON-RPC Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "Docker container <container_name> start requested."
}

CLI Example

The following example starts a Docker container named docker-container-httpd-resource.

rvc docker start --name docker-container-httpd-resource

Response

Docker container docker-container-httpd-resource start requested.