Apt-Cacher NG

Apt-Cacher NG is a caching proxy for Linux distribution package repositories, primarily for Debian-based distributions but not limited to them, reducing…

  • Development
  • Network Services
  • Other
  • Tools & Utilities
Apt-Cacher NG is a caching proxy for Linux distribution package repositories, primarily for Debian-based distributions but not limited to them, reducing bandwidth and providing local clients with reusable package files.

Platform availability

Available on 2 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

37/100 Low

Maintained
1last commit 719 days ago
Popular
48242 GitHub stars
Easy to install
452 install platforms, install notes, Docker image
Light to run
No data
Security check
85no serious findings, CI

Based on 4 of 5 factors.

Availability: platform listings confirmed today, links checked 7 days ago

GitHub stars
242
Open issues
18
Last commit
2024-12-02
Latest release
v3.7.4-20220421
License
MIT
Activity
stale

Checked 22 days ago - source: GitHub (sameersbn/docker-apt-cacher-ng)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Docker first install Run the published Docker image, persist its cache data, and point Linux package clients or Docker build processes to the proxy. source

Fetched 2 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

What Docker port and volume should I expose for the sameersbn/apt-cacher-ng image?

Publish port 3142 and mount a persistent directory to /var/cache/apt-cacher-ng, for example /srv/docker/apt-cacher-ng:/var/cache/apt-cacher-ng.

Which APT client setting keeps HTTPS repositories from being tunneled through apt-cacher-ng?

Add Acquire::https::Proxy "DIRECT" to the client configuration. Without that setting, apt can tunnel HTTPS repositories through the cacher.

Does apt-cacher-ng include a web interface?

Yes, it has a web frontend for viewing statistic reports and triggering actions, such as importing already available package files into the cache.

How can I restrict which clients may use the cache?

Use access controls such as IP interface, libwrap, inetd, or iptables, and you can also use a target port filter.

Answers sourced from github.com, www.bigiron.cc, www.unix-ag.uni-kl.de, www.unix-ag.uni-kl.de

Community

Collected 48 days ago - public community threads