Public | Automated Build

Last pushed: 4 months ago
Short Description
Apt-cacher-ng in a docker container.
Full Description


apt-cacher-ng in a docker container

To Build:

docker build -t atomney/aptcache .

To Run:

docker run -td -p 3142:3142 atomney/aptcache

Example Proxy File for Ubuntu:

Enter the following into "/etc/apt/apt.conf.d/02proxy" if the file doesn't exist create it.

Acquire::http { Proxy "http://aptcache:3142"; };

To Use With Containers:

docker run -it --rm -e http_proxy http://YOURDOCKERHOSTNAME:3142/ ubuntu bash
Docker Pull Command
Source Repository