openpolicyagent/opa

Sponsored OSS

By openpolicyagent

Updated 3 minutes ago

Official build of the Open Policy Agent project.

Image
Security
Integration & delivery
Monitoring & observability
46

500M+

openpolicyagent/opa repository overview

The Open Policy Agent (OPA) is an open source, general-purpose policy engine that enables unified, context-aware policy enforcement across the entire stack.

Need help?

Image Variants

The openpolicyagent/opa images come in a few different flavors.

TagDescription
openpolicyagent/opa:<version>This is the standard image. Use this image by default.
openpolicyagent/opa:<version>-debugThis variant includes a shell and is based on the lightweight distroless images.
openpolicyagent/opa:<version>-staticThis variant is the same as the standard image except it contains a statically linked OPA executable.
openpolicyagent/opa:<version>-envoyThis variant extends OPA to include an Envoy External Authorization server.

In addition, there are a few other variants that are primarily for development and test purposes:

  • The latest tag refers to the most recent stable <version> variant.
  • The edge tag refers to the image built from the tip of master.
  • The <version>-dev tags are built and pushed prior to each release.

How to use this image

Run the OPA REPL

docker run -it --rm openpolicyagent/opa

Run the OPA server and expose the server on the host

docker run -it --rm -p 8181:8181 openpolicyagent/opa run --server --addr :8181

Tag summary

Content type

Image

Digest

sha256:8f4b350f5

Size

26.5 MB

Last updated

3 minutes ago

Requires Docker Desktop 4.37.1 or later.

This week's pulls

Pulls:

378,880

Last week