<a id="lxc-image-registry-edit-md"></a>

# `lxc image registry edit`

Edit image registry configuration as YAML

## Synopsis

Description:
Edit image registry configuration as YAML

```none
lxc image registry edit [<remote>:]<registry> [flags]
```

## Examples

```none
  lxc image registry edit [<remote>:]<name> < registry.yaml
  	Update an image registry using the content of registry.yaml
```

## Options inherited from parent commands

```none
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Do not show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number
```

## SEE ALSO

* [lxc image registry](https://canonical.com/lxd/docs/latest/reference/manpages/lxc/image/registry/index.html.md#lxc-image-registry-md)	 - Manage image registries
