Skip to content

Commit

Permalink
Update docker-authorization.md to use new plugin version
Browse files Browse the repository at this point in the history
Updated docs to reflect the updated plugin version in order to run the examples

Signed-off-by: denis-accesa <128355301+denis-accesa@users.noreply.github.com>
  • Loading branch information
denis-accesa authored Jan 23, 2024
1 parent c0589c1 commit 853bb7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/docker-authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ sudo mv config.yaml /etc/docker/config/
Install the `opa-docker-authz` plugin and point it to the config file just created.

```shell
docker plugin install openpolicyagent/opa-docker-authz-v2:0.8 opa-args="-config-file /opa/config/config.yaml"
docker plugin install openpolicyagent/opa-docker-authz-v2:0.9 opa-args="-config-file /opa/config/config.yaml"
```

You need to configure the Docker daemon to use the plugin for authorization.

```shell
cat > /etc/docker/daemon.json <<EOF
{
"authorization-plugins": ["openpolicyagent/opa-docker-authz-v2:0.8"]
"authorization-plugins": ["openpolicyagent/opa-docker-authz-v2:0.9"]
}
EOF
```
Expand Down

0 comments on commit 853bb7d

Please sign in to comment.