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

Added docs on using docker image #297

Merged
merged 3 commits into from
Feb 6, 2024
Merged
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
20 changes: 20 additions & 0 deletions website/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,26 @@ You can install with `go install` with:
```bash
go install github.com/kyverno/kyverno-json@latest
```
## Running with Docker

Kyverno-JSON is also available as a Docker image which you can pull and run:

```bash
docker pull ghcr.io/kyverno/kyverno-json:<version>
```

!!! info

Since kyverno-JSON relies on files for its operation (like ValidatingPolicy definitions), you will need to bind mount the necessary directories when running it via Docker.


```bash
$ docker run --rm \
-v /path/on/host:/path/in/container \
ghcr.io/kyverno/kyverno-json:<version> \
<kyverno-json-command>
```


## Build from the source code

Expand Down
Loading