Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add copa patch command to quick start guide #554

Merged
merged 3 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions website/docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ This sample illustrates how to patch containers using vulnerability reports with

If an instance doesn't exist or that instance doesn't support all the features copa needs the next will be attempted. Please see [custom buildkit addresses](custom-address.md) for more information.

After setting up the buildkit instance, run the following command to patch the image:

```bash
copa patch -r nginx.1.21.6.json -i docker.io/library/nginx:1.21.6
```

In any of these cases, `copa` is non-destructive and exports a new image with the specified `1.21.6-patched` label to the local Docker daemon.

:::note
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-v0.6.x/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ This sample illustrates how to patch containers using vulnerability reports with

If an instance doesn't exist or that instance doesn't support all the features copa needs the next will be attempted. Please see [custom buildkit addresses](custom-address.md) for more information.

After setting up the buildkit instance, run the following command to patch the image:

```bash
copa patch -r nginx.1.21.6.json -i docker.io/library/nginx:1.21.6
```

In any of these cases, `copa` is non-destructive and exports a new image with the specified `1.21.6-patched` label to the local Docker daemon.

:::note
Expand Down
Loading