Skip to main content

Create a container

POST 

/api/node/:hostname/docker

Runs docker create, which pulls the image when the host does not have it. The environment goes on docker's standard input, not in its arguments, which each user of the host can read. auto_start starts the container once it is made. A container of the name that the host has already is not made again, and reports changed: false.

Request​

Responses​

Each target host's result, with whether it changed.