Docker Registry
AuthorizationBearer <token>API Key access
X-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
List of all docker registries
application/json- response
[index: integer]?curl -X GET 'http://localhost:3000/docker-registry'[ { "mtlsSecretArn": "mtlsSecretArn", "registryType": "internal", "createdAt": "2024-01-31T12:00:00Z", "name": "My Docker Hub", "project": "my-project", "id": "123e4567-e89b-12d3-a456-426614174000", "url": "https://registry.hub.docker.com", "mtlsRoleArn": "mtlsRoleArn", "username": "username", "updatedAt": "2024-01-31T12:00:00Z" }]AuthorizationBearer <token>API Key access
X-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
application/json- body
mtlsRoleArn?|IAM role ARN for registry mTLS; supply with mtlsSecretArn, or set both to null to clear
mtlsSecretArn?|Secrets Manager ARN for registry mTLS; supply with mtlsRoleArn, or set both to null to clear
name*stringRegistry name
url*stringRegistry URL
username*stringRegistry username
password*stringRegistry password
project?stringRegistry project
The docker registry has been successfully created.
application/json- response
id*stringRegistry ID
name*stringRegistry name
url*stringRegistry URL
username*stringRegistry username
mtlsRoleArn*|IAM role ARN for registry mTLS
mtlsSecretArn*|Secrets Manager ARN for registry mTLS
project*stringRegistry project
registryType*stringRegistry type
"internal""organization""transient""backup"createdAt*stringCreation timestamp
date-timeupdatedAt*stringLast update timestamp
date-timecurl -X POST 'http://localhost:3000/docker-registry' \ -H 'Content-Type: application/json' \ -d '{ "mtlsSecretArn": "mtlsSecretArn", "password": "password", "name": "name", "project": "project", "mtlsRoleArn": "mtlsRoleArn", "url": "url", "username": "username"}'{ "mtlsSecretArn": "mtlsSecretArn", "registryType": "internal", "createdAt": "2024-01-31T12:00:00Z", "name": "My Docker Hub", "project": "my-project", "id": "123e4567-e89b-12d3-a456-426614174000", "url": "https://registry.hub.docker.com", "mtlsRoleArn": "mtlsRoleArn", "username": "username", "updatedAt": "2024-01-31T12:00:00Z"}AuthorizationBearer <token>API Key access
regionId?stringID of the region where the snapshot will be available (defaults to organization default region)
X-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
Temporary registry access has been generated
application/json- response
username*stringTemporary username for registry authentication
secret*stringTemporary secret for registry authentication
registryUrl*stringRegistry URL
registryId*stringRegistry ID
project*stringRegistry project ID
expiresAt*stringToken expiration time in ISO format
curl -X GET 'http://localhost:3000/docker-registry/registry-push-access'{ "registryUrl": "registry.example.com", "registryId": "123e4567-e89b-12d3-a456-426614174000", "project": "library", "secret": "eyJhbGciOiJIUzI1NiIs...", "expiresAt": "2023-12-31T23:59:59Z", "username": "temp-user-123"}AuthorizationBearer <token>API Key access
id*stringID of the docker registry
X-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
The docker registry
application/json- response
id*stringRegistry ID
name*stringRegistry name
url*stringRegistry URL
username*stringRegistry username
mtlsRoleArn*|IAM role ARN for registry mTLS
mtlsSecretArn*|Secrets Manager ARN for registry mTLS
project*stringRegistry project
registryType*stringRegistry type
"internal""organization""transient""backup"createdAt*stringCreation timestamp
date-timeupdatedAt*stringLast update timestamp
date-timecurl -X GET 'http://localhost:3000/docker-registry/string'{ "mtlsSecretArn": "mtlsSecretArn", "registryType": "internal", "createdAt": "2024-01-31T12:00:00Z", "name": "My Docker Hub", "project": "my-project", "id": "123e4567-e89b-12d3-a456-426614174000", "url": "https://registry.hub.docker.com", "mtlsRoleArn": "mtlsRoleArn", "username": "username", "updatedAt": "2024-01-31T12:00:00Z"}AuthorizationBearer <token>API Key access
id*stringID of the docker registry
X-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
application/json- body
mtlsRoleArn?|IAM role ARN for registry mTLS; supply with mtlsSecretArn, or set both to null to clear
mtlsSecretArn?|Secrets Manager ARN for registry mTLS; supply with mtlsRoleArn, or set both to null to clear
name*stringRegistry name
url*stringRegistry URL
username*stringRegistry username
password?stringRegistry password
project?stringRegistry project
The docker registry has been successfully updated.
application/json- response
id*stringRegistry ID
name*stringRegistry name
url*stringRegistry URL
username*stringRegistry username
mtlsRoleArn*|IAM role ARN for registry mTLS
mtlsSecretArn*|Secrets Manager ARN for registry mTLS
project*stringRegistry project
registryType*stringRegistry type
"internal""organization""transient""backup"createdAt*stringCreation timestamp
date-timeupdatedAt*stringLast update timestamp
date-timecurl -X PATCH 'http://localhost:3000/docker-registry/string' \ -H 'Content-Type: application/json' \ -d '{ "mtlsSecretArn": "mtlsSecretArn", "password": "password", "name": "name", "project": "project", "mtlsRoleArn": "mtlsRoleArn", "url": "url", "username": "username"}'{ "mtlsSecretArn": "mtlsSecretArn", "registryType": "internal", "createdAt": "2024-01-31T12:00:00Z", "name": "My Docker Hub", "project": "my-project", "id": "123e4567-e89b-12d3-a456-426614174000", "url": "https://registry.hub.docker.com", "mtlsRoleArn": "mtlsRoleArn", "username": "username", "updatedAt": "2024-01-31T12:00:00Z"}AuthorizationBearer <token>API Key access
id*stringID of the docker registry
X-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
The docker registry has been successfully deleted.
curl -X DELETE 'http://localhost:3000/docker-registry/string'