HUB
Sign inSign up
apt-cacher logo

combro2k/apt-cacher

By combro2k

•Updated over 11 years ago

Image
0

736

combro2k/apt-cacher repository overview

⁠docker-apt-cacher

Downloading the same software packages for Debian/Ubuntu-based distributions for several machines in your network over and over again is slow and annoying. Using apt-cacher⁠ you can set up a central machine that caches the package files after the first download. This is a minimal docker image that eases setting up and maintaining your apt-cacher proxy server.

⁠Instructions

$ git clone https://github.com/combro2k/docker-apt-cacher.git
$ cd docker-apt-cacher
$ sudo docker build -t apt-cacher .
⁠Run in background
$ sudo docker run -d -p 3142:3142 -t apt-cacher
⁠Configure your clients
$ echo "Acquire::http::Proxy \"http://your-docker-host:3142\";" | sudo tee /etc/apt/apt.conf.d/01proxy
Tag summary
Recent tags
Content type
Image
Digest
sha256:dd2384f0b…
Size
88.8 MB
Last updated
over 11 years ago
docker pull combro2k/apt-cacher:latest