The instance-docker-run command executes the Docker run command on the instance.

JSON Input Data Format
{
    "id": string,
    "args": string
}
id * Specifies the ID of the instance where the command will be executed.
args * Specifies the arguments for the Docker run command.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "...the outpur of the command..."
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}