Docker vs Podman: source lines of code compared

This page compares the source lines of code (SLOC) of moby/moby and containers/podman using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.

As of 2026-08-26, moby/moby contains 400,420 total lines (307,056 code) across 2,341 files, while containers/podman contains 250,917 total lines (174,847 code) across 1,439 files as of 2026-08-26. moby/moby is about 1.8x the size of containers/podman by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.

Metricmoby/mobycontainers/podman
Files2,3411,439
Total lines400,420250,917
Code lines307,056174,847
Comment lines41,87546,121
Blank lines51,48929,949
Languages counted1212

Top languages in moby/moby: Go (93.6% of code), YAML (4.5% of code), Shell (0.7% of code). Top languages in containers/podman: Go (93.4% of code), Perl (1.9% of code), PowerShell (1.0% of code). Go, Shell appear in both top language lists; YAML, Dockerfile, BASH appear only in moby/moby's top languages; Perl, PowerShell, C appear only in containers/podman's top languages.

Methodology: both counts come from cached OctoCounts reports generated with tokei. moby/moby was counted at ref master (commit 130badd3837a) on 2026-08-26; containers/podman was counted at ref main (commit a1c4f9c0e602) on 2026-08-26. See the counting methodology for ignored directories and analysis options.

Evidence and next steps:

Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.

Compare FAQ

Which has more lines of code, moby/moby or containers/podman?

moby/moby has more code: 307,056 code lines versus 174,847 for containers/podman, about 1.8x as much, based on cached OctoCounts reports as of 2026-08-26.

Does more source lines of code mean more complexity?

Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for moby/moby, containers/podman, or any repository.

How is this comparison calculated?

Methodology: both counts come from cached OctoCounts reports generated with tokei. moby/moby was counted at ref master (commit 130badd3837a) on 2026-08-26; containers/podman was counted at ref main (commit a1c4f9c0e602) on 2026-08-26. See the counting methodology for ignored directories and analysis options.

Can I compare a different branch, tag, or commit?

Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.