scout: add step to enroll org before enabling repo

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-04-17 09:48:00 +02:00
parent 3b25805488
commit 07d2a7dce0
1 changed files with 9 additions and 2 deletions

View File

@ -50,8 +50,15 @@ You can do this from Docker Hub, the Docker Scout Dashboard, and CLI.
1. Sign in to your Docker account with the `docker login` command or use the
**Sign in** button in Docker Desktop.
2. Use the Docker CLI [`docker scout repo enable`](/reference/cli/docker/scout/repo/enable)
command to enable analysis on an existing repository:
2. Next, enroll your organization with Docker Scout, using the `docker scout enroll` command.
```console
$ docker scout enroll <ORG_NAME>
✓ Successfully enrolled organization <ORG_NAME> with Docker Scout Free
```
3. Enable Docker Scout for your image repository with the `docker scout repo enable` command.
```console
$ docker scout repo enable --org <ORG_NAME> <ORG_NAME>/scout-demo