Ploi API
Ploi API

Start container

Start a container in your server.

POST /api/servers/{server}/docker/containers/{container}/up

Example request:

curl -X POST "https://ploi.io/api/servers/{server}/docker/containers/{container}/up" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
sh

Body Parameters

Name Type Description
flags array Optional. Additional flags to pass to docker-compose up.

Response

{
  "message": "Docker container nginx-app has been queued for startup"
}
json