Home Explore Blog Models CI



docker

1st chunk of `_vendor/github.com/docker/scout-cli/docs/scout_repo_enable.md`
f1dfa7339f6ee85e15fd4146be32ff1643bbf1f6070ce0e7000000010000058e
# docker scout repo enable

<!---MARKER_GEN_START-->
Enable Docker Scout

### Options

| Name            | Type     | Default | Description                                                                 |
|:----------------|:---------|:--------|:----------------------------------------------------------------------------|
| `--all`         |          |         | Enable all repositories of the organization. Can not be used with --filter. |
| `--filter`      | `string` |         | Regular expression to filter repositories by name                           |
| `--integration` | `string` |         | Name of the integration to use for enabling an image                        |
| `--org`         | `string` |         | Namespace of the Docker organization                                        |
| `--registry`    | `string` |         | Container Registry                                                          |


<!---MARKER_GEN_END-->

## Examples

### Enable a specific repository

```console
$ docker scout repo enable my/repository
```

### Enable all repositories of the organization

```console
$ docker scout repo enable --all
```

### Enable some repositories based on a filter

```console
$ docker scout repo enable --filter namespace/backend
```

### Enable a repository from a specific registry

```console
$ docker scout repo enable my/repository --registry 123456.dkr.ecr.us-east-1.amazonaws.com
```

Title: docker scout repo enable: Enabling Docker Scout for Repositories
Summary
The `docker scout repo enable` command enables Docker Scout for specified repositories. It offers options to enable a single repository, all repositories within an organization, or a subset of repositories based on a regular expression filter. It also allows specifying a registry for the repository.