A registry is where image repositories are hosted. The repository can be either from DockerHub, Quay.io, or a custom private registry.
| Field | Type | Create | Update | Default | Notes |
|---|---|---|---|---|---|
| description | string | Optional | Yes | - | |
| name | string | Optional | Yes | - | |
| serverAddress | string | Yes | - | - |
| Field | Type | Notes |
|---|---|---|
| blockDevicePath | string | |
| data | map[json] | |
| driverName | string | |
| externalId | string | |
| id | int | The unique identifier for the registry |
| volumeAccessMode | string | |
| volumeCapabilities | array[string] |
Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.
/v1/projects/${PROJECT_ID}/registries/${ID}?action=activate
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
'http://${RANCHER_URL}:8080/v1/projects/${PROJECT_ID}/registries/${ID}?action=activate'/v1/projects/${PROJECT_ID}/registries/${ID}?action=deactivate
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
'http://${RANCHER_URL}:8080/v1/projects/${PROJECT_ID}/registries/${ID}?action=deactivate'