E

Container Build Tools

Earthly Lunar and Earthfiles

earthly.dev · checked 30 Sept 2026

Earthly Lunar monitors software delivery data and enforces engineering rules, while Earthfiles provides portable build syntax.

How it plugs in

YesPublic API
NoOpen source
YesFree tier

Signal on Container Build Tools6.4#8 of 34

Earthly now centers on Lunar, a platform that gathers data from repositories and CI/CD pipelines, checks it against organization-defined policies, and applies guardrails from code writing through deployment. It includes more than 200 ready-made checks, a SQL API, and 66 listed integrations. Earthfiles remains an open-source option for portable builds, including multi-architecture work.

Earthly home page

Review

In a line

Earthly Lunar is a guardrails platform for monitoring software development and enforcing engineering practices. Earthfiles is Earthly’s open-source syntax for self-contained, portable builds.

What it does

Lunar collects structured information from source repositories and CI/CD pipelines, then compares it with policies an organization defines. Rules can start as drafts or scores, appear as pull-request comments, or block pull requests and deployments.

More than 200 built-in guardrails cover testing, security, compliance, and operational readiness. They can run while code is written, during pull requests, and at deployment gates. Lunar also works with Claude Code, Cursor, Codex, and pull requests.

Earthfiles describes a way to make consistent, language-independent builds across monorepos and polyrepos. Its build method is local_daemon, with multi-architecture builds, multiple cache backends, and build-secret handling.

How it connects

Lunar instruments existing CI/CD pipelines without requiring YAML edits. Its CI agent can run on self-hosted runners by being added to the runner entrypoint, and Earthly says it works with all major CI vendors.

The integrations page lists 66 integrations, including collectors and catalogers for tools and software ecosystems. Teams can create custom collectors or catalogers with Bash scripts to connect tools or APIs.

A SQL API lets teams query and analyze engineering data. Earthfiles is open source and remains available for builds.

Good fit

Lunar suits organizations that want shared engineering rules across repositories, CI/CD systems, pull requests, and deployment checks. It can add policy checks without a wholesale rewrite of existing pipelines.

Earthfiles fits teams that need self-contained, repeatable builds across different languages or repository layouts, including multi-architecture builds.

Watch for

Lunar evaluates data against policies that each organization defines, so teams must decide which rules to use and how strictly to enforce them. Custom collectors and catalogers can be built with Bash scripts.

The CI agent on a self-hosted runner requires an entrypoint change. Earthly’s current focus is Lunar, although Earthfiles remains available and actively used.

Earthly says services and databases run on AWS, with databases in the United States. Databases are encrypted at rest, and applications use TLS/SSL for data in transit.

Pricing

Earthly is free and offers a free plan.

Verdict

Choose Lunar if you need one place to collect delivery metadata and apply engineering policies across development, pull requests, and deployments, especially when you want ready-made guardrails and a SQL query option.

Choose Earthfiles when the main need is an open-source build format for portable, consistent builds. Check the listed integrations, runner setup, data location, and the policy work your team will need before adopting Lunar.

Our take

Earthly makes sense for teams that want policy checks tied to their existing delivery process rather than a replacement CI system. Lunar covers code authoring, pull requests, and deployment gates, with more than 200 built-in guardrails and a SQL API for engineering data. Its free plan lowers the cost of trying it. Earthfiles is a separate open-source choice for portable builds, including multi-architecture jobs. Review the 66 integrations, self-hosted runner setup, United States database location, and your own policy definitions before committing.

  • Free plan is available.
  • More than 200 prebuilt guardrails cover key engineering areas.
  • Works with existing CI/CD pipelines without YAML changes.
  • SQL API supports querying engineering data.
  • Earthfiles is open source and supports portable builds.
  • Custom collectors and catalogers can be built with Bash scripts.
  • Self-hosted runners need the CI agent added to their entrypoint.
  • Teams must define and manage the policies Lunar evaluates.
  • Earthly’s current focus has shifted from Earthfiles to Lunar.
  • Pick it ifTeams enforcing shared engineering rules across delivery stages; Portable, language-agnostic builds across monorepos or polyrepos; Organizations using self-hosted runners or multiple CI vendors
  • Skip it ifYou need a paid-plan comparison; only a free plan is listed.; You cannot change self-hosted runner entrypoints.; You do not want to define or maintain engineering policies.

Pricing

Earthly is free with a free plan. No paid tiers or extra charges are listed in the facts.

Questions

What is Earthly Lunar?

Lunar monitors software development lifecycle data and checks it against engineering policies set by an organization.

Does Lunar require CI/CD YAML changes?

No. Earthly says Lunar instruments existing CI/CD pipelines without requiring YAML changes.

What integrations does Lunar have?

Its integrations page lists 66 integrations, including collectors and catalogers. Custom ones can be built with Bash scripts.

Can Lunar block pull requests or deployments?

Yes. Guardrails can move from drafts and scoring to pull-request comments, blocked pull requests, or blocked deployments.

What is Earthfiles?

Earthfiles is Earthly’s open-source build syntax for self-contained, consistent, portable, language-agnostic builds.

Does Earthly offer an API?

Lunar documentation lists a SQL API for querying and analyzing engineering data.

Where is Earthly data hosted?

Earthly says its services and databases are hosted on AWS, with databases located in the United States.