---
title: blossom container_registry:update
url: "/docs/reference/cli/container_registry/update/"
canonical_url: https://docs.blossom88.com/docs/reference/cli/container_registry/update/
markdown_url: https://docs.blossom88.com/docs/reference/cli/container_registry/update.md
summary: Update a container registry
categories:
- cli
- reference
---

# blossom container_registry:update

Update a container registry

## Usage

    blossom container_registry:update --id ID [--data DATA]

## Flags

| Flag | Description |
| --- | --- |
| `--id (required)` | Container registry id |
| `--data, -d` | YAML or JSON data, a path to a data file, or an HTTP(S) URL |

Examples:

    blossom container_registry:update --id container_registry-100 --data container_registry.yml
    blossom container_registry:update --id container_registry-100 -d '{"container_registry":{"name":"production"}}'

container_registry.yml:

```yaml
container_registry:
  name: production
```

Updates a container registry in the current Blossom Account. `--id` identifies
the existing registry. The registry type is immutable; omit
`container_registry.registry_type` from update data.

Local files and inline data support `$VAR` and `${VAR}` substitution from
`.env`, `BLOSSOM_VARS_FILE`, and the process environment. See
`blossom help:data`.
