Dokploy

Docker

GET
/docker.getContainers

Docker get Containers

/docker.getContainers

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

serverIdstring

curl -X GET "http://your-dokploy-instance.com/api/docker.getContainers?serverId=string" \
  -H "Authorization: Bearer <token>"

Successful response

POST
/docker.restartContainer

Docker restart Container

/docker.restartContainer

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

containerId
Required
string

Minimum length: 1
curl -X POST "http://your-dokploy-instance.com/api/docker.restartContainer" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "containerId": "string"
  }'

Successful response

GET
/docker.getConfig

Docker get Config

/docker.getConfig

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

containerId
Required
string

Minimum length: 1

serverIdstring

curl -X GET "http://your-dokploy-instance.com/api/docker.getConfig?containerId=string&serverId=string" \
  -H "Authorization: Bearer <token>"

Successful response

GET
/docker.getContainersByAppNameMatch

Docker get Containers By App Name Match

/docker.getContainersByAppNameMatch

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

appTypeAny properties in string, string

appName
Required
string

Minimum length: 1

serverIdstring

curl -X GET "http://your-dokploy-instance.com/api/docker.getContainersByAppNameMatch?appType=stack&appName=string&serverId=string" \
  -H "Authorization: Bearer <token>"

Successful response

GET
/docker.getContainersByAppLabel

Docker get Containers By App Label

/docker.getContainersByAppLabel

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

appName
Required
string

Minimum length: 1

serverIdstring

curl -X GET "http://your-dokploy-instance.com/api/docker.getContainersByAppLabel?appName=string&serverId=string" \
  -H "Authorization: Bearer <token>"

Successful response