distribution VS OPA (Open Policy Agent)

Compare distribution vs OPA (Open Policy Agent) and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
distribution OPA (Open Policy Agent)
15 90
8,395 9,136
1.2% 0.9%
9.4 9.6
4 days ago 6 days ago
Go Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

distribution

Posts with mentions or reviews of distribution. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-15.
  • How Do I Actually Use Docker?
    2 projects | /r/selfhosted | 15 Apr 2023
    To transfer the image between your local machine and the server, you'll need a registry such as Docker Hub or GitHub Container Registry. (Technically you can compress images and distribute them as files but it's more of a headache than it's worth) There are plenty of registries that will allow you to host private images if that's a concern for you, but it will be harder to find a free/cheap solution. You can also host your own registry using the Distribution Project. But be warned that while hosting a basic registry is really easy, locking it down can be a pain because of the lack of well maintained and easy to use projects.
  • Go doesn’t do any magical stuff and I love that
    8 projects | /r/golang | 12 Mar 2023
    The open source repository my colleague and I reference in this talk can be seen at https://github.com/distribution/distribution/
  • Good options for HA docker registry?
    2 projects | /r/docker | 14 Nov 2022
    FWIW, the open source registry application itself is essentially stateless. You just run multiple copies of it and point all of them at the same storage for a High Availability setup. If you have GlusterFS, you can mount it to the local filesystem and use the filesystem storage driver, though you may need to tweak settings for it to function properly (example).
  • Self-Hosting container registry
    1 project | /r/kubernetes | 14 Oct 2022
  • Ask HN: Has anyone self/on-prem hosted a container registry
    1 project | news.ycombinator.com | 22 Sep 2022
    It's always been one of those items deep down on the "to consider" list, and my rationale was that there really aren't any straight-forward solutions for this and with Gitlab and Github offering their own registries it was never a problem.

    But yesterday I found out that Docker's Registry core (Distribution) [0] is OpenSource (and used by other registries too!), but I haven't seen many mentions of it until then. I've checked out their documentation and it seems solid.

    So, what is your experience with self-hosting registries be it Distribution, Harbour or something else. Any hidden PITA? I myself will spin Distribution up on the dev env and see how it goes!

    [0]: https://github.com/distribution/distribution

  • What is "registry"?
    2 projects | /r/docker | 14 Mar 2022
    The original registry "distribution" project (which is the base of Docker Hub, Harbor, etc) was donated to the CNCF: https://github.com/distribution/distribution
  • Harbor + Kubernetes = Self-Hosted Container Registry
    3 projects | /r/kubernetes | 1 Nov 2021
    Evaluated this a couple of weeks back. Ended up going for registry:2 aka distribution/distribution + https://github.com/cesanta/docker_auth + https://github.com/Quiq/docker-registry-ui
  • Docker desktop no longer free for large companies
    4 projects | news.ycombinator.com | 31 Aug 2021
    > There's a standards conversion going on where we can trace the provenance of each and every layer of the image, we can start signing those layers, and with that metadata, we can start doing automated decisioning, automated reporting, automated visibility into what's been done to that image at each step of the lifecycle.

    Docker's CEO is being disingenuous. When you deploy a Docker container, you specify the image ID. The ID looks like a SHA-256 digest and even starts with the string 'sha256' but it is an arbitrary value generated by the docker daemon on the local machine. The ID is not a hash of the image contents [0]. In other words, docker images are not content-addressed.

    Since docker images are not content-addressed, your image registry and image transfer tools can subvert the security of your production systems. The fix is straightforward: make an image ID be the SHA-256 digest of the image contents, which is the same everywhere: on your build system, image registry, test system, and production hosts. This fix will increase supply chain security for all Docker users. It is massive low-hanging fruit.

    Now Docker will add image signatures without first making images content-addressed. Their decision makes sense only if their goal is to make money and not make a secure product. I cannot trust a company with such priorities.

    [0] https://github.com/distribution/distribution/issues/1662

  • Any lightweight docker registry host suggestion?
    3 projects | /r/selfhosted | 23 Aug 2021
    no docker distribution please, https://github.com/distribution/distribution seems hard to run and config.
  • Suggestions for self hosted container registries?
    3 projects | /r/selfhosted | 3 Aug 2021
    I’ve not used it myself but it does look like the Docker registry itself is open source https://docs.docker.com/registry/deploying/ and https://github.com/distribution/distribution

OPA (Open Policy Agent)

Posts with mentions or reviews of OPA (Open Policy Agent). We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.
  • SAP BTP, Terraform and Open Policy Agent
    3 projects | dev.to | 2 Apr 2024
    How can we handle this? Are there any mechanisms to prevent or at least to some extent safeguard this kind of issues without falling back to a manual workflow? There is. One huge advantage of sticking to (de-facto) standards like Terraform is that first we are probably not the first ones to come up with this question and second there is a huge ecosystem around Terraform that might help us with such challenges. And for this specific scenario the solution is the Open Policy Agent. Let us take a closer look how the solution could look like.
  • Top Terraform Tools to Know in 2024
    19 projects | dev.to | 26 Mar 2024
    A popular Policy-as-Code tool for Terraform is OPA, everyone's favorite versatile open-source policy engine that enforces security and compliance policies across your cloud-native stack, making it easier to manage and maintain consistent policy enforcement in complex, multi-service environments.
  • Open Policy Agent
    8 projects | news.ycombinator.com | 12 Mar 2024
  • Build and Push to GAR and Deploy to GKE - End-to-End CI/CD Pipeline
    3 projects | dev.to | 2 Jan 2024
    Harness Policy As Code uses Open Policy Agent (OPA) as the central service to store and enforce policies for the different entities and processes across the Harness platform. In this section, you will define a policy that will deny a pipeline execution if there is no approval step defined in a deployment stage.
  • 10 Ways for Kubernetes Declarative Configuration Management
    23 projects | dev.to | 1 Jan 2024
    OPA: While OPA is an open-source, general-purpose policy engine capable of enforcing unified and context-aware policies throughout the stack, it can also accept and output data in formats such as JSON, effectively functioning as a tool for generating or modifying configurations. Although it does not provide out-of-the-box schema definition support, it allows the integration of JsonSchema definitions.
  • Securing CI/CD Images with Cosign and OPA
    4 projects | dev.to | 15 Nov 2023
    In essence, container image signing involves adding a digital stamp to an image, affirming its authenticity. This digital assurance guarantees that the image is unchanged from creation to deployment. In this blog, I'll explain how to sign container images for Kubernetes using Cosign and the Open Policy Agent. I will also share a tutorial that demonstrates these concepts.
  • OPA vs. Google Zanzibar: A Brief Comparison
    2 projects | dev.to | 14 Nov 2023
    In this post we will explores two powerful solutions for addressing this issue: the Open Policy Language (OPA) and Google’s Zanzibar.
  • Rego for beginners: Introduction to Rego
    1 project | dev.to | 2 Nov 2023
    Rego is a declarative query language from the makers of the Open Policy Agent (OPA) framework. The Cloud Native Computing Foundation (CNCF) accepted OPA as an incubation-level hosted project in April 2019, and OPA graduated from incubating status in 2021.
  • Are "Infrastructure as Code" limited to "Infrastructure" only?
    3 projects | /r/kubernetes | 19 Sep 2023
    Now there are more subdivided practice: * Policy as Code: Sentinel, OPA * Database as Code: bytebase * AppConfiguration as Code: KusionStack, Acorn * ...... (Welcome to add more)
  • OPA (Open Policy Agent) VS topaz - a user suggested alternative
    2 projects | 25 Jul 2023

What are some alternatives?

When comparing distribution and OPA (Open Policy Agent) you can also consider the following projects:

Harbor - An open source trusted cloud native registry project that stores, signs, and scans content.

casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN

Portus - Authorization service and frontend for Docker registry (v2)

Keycloak - Open Source Identity and Access Management For Modern Applications and Services

Dragonfly - This repository has be archived and moved to the new repository https://github.com/dragonflyoss/Dragonfly2.

Ory Keto - Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.

distribution-library-image

cerbos - Cerbos is the open core, language-agnostic, scalable authorization solution that makes user permissions and authorization simple to implement and manage by writing context-aware access control policies for your application resources.

machine

checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.

containerd - An open and reliable container runtime

spicedb - Open Source, Google Zanzibar-inspired permissions database to enable fine-grained access control for customer applications