Favicon of Apt-Cacher NG (mbentley)

Apt-Cacher NG (mbentley)

Optimize Linux package downloads with a low-overhead caching proxy. It uses native system functions for speed and includes a web frontend for statistics.

Reduce bandwidth usage and speed up software installations across your network with a specialized caching proxy for Linux distribution packages. Primarily designed for Debian and Debian-based systems, this tool efficiently caches downloaded packages so multiple machines can update without fetching the same files from the internet repeatedly. Key benefits include: Low Overhead: Operates without requiring an interpreter or massive runtime libraries. High Performance: Utilizes native system functions like mmap and sendfile instead of forking or using complex synchronization methods, ensuring minimal resource consumption. Built-in Web Frontend: Easily view detailed statistical reports and trigger administrative actions, such as importing existing package files directly into the cache. Simple Configuration: Requires only minor adjustments to client-side mirror URLs or proxy settings, with server-side setup often working perfectly out of the box.

Directory Structure

apt-cacher-ng-mbentley
apt-cacher-ng
data
.env
docker-compose.yml

docker-compose.yml

services:
  apt-cacher-ng:
    image: mbentley/apt-cacher-ng:latest
    container_name: apt-cacher-ng
    restart: unless-stopped
    ports:
      - "3142:3142"
    volumes:
      - ./data:/var/cache/apt-cacher-ng
    environment:
      - TZ=UTC
      # Optional upstream proxy configuration
      - ACNG_PROXY=${ACNG_PROXY}

.env

# Optional: Upstream proxy URL (format: http://username:password@proxyhost:port)
# Leave empty if not using an upstream proxy
ACNG_PROXY=
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Apt-Cacher NG (mbentley)

Favicon

 

  
  
Favicon

 

  
  
Favicon