Servers

Log in to a registry on a server

Changed on

Run docker login on the server, writing to the Docker config that deployments use. Logging in again to the same registry replaces the saved login.

post/servers/{uuid}/registries

Request

  • Base URL: https://app.coolify.io/api/v1
  • URL: https://app.coolify.io/api/v1/servers/{uuid}/registries
  • Auth: HTTP bearer

Path parameters

uuidstring required

Server UUID

Request body

registrystring required

Registry host, optionally with a port. Use docker.io for Docker Hub.

usernamestring required
passwordstring required

Password or access token. Never returned.

Example request

{
  "registry": "ghcr.io",
  "username": "octocat"
}

Response

Logged in.

messagestring

Example response

{
  "message": "Logged in to ghcr.io."
}

Changes