Sign inSign up

codeworksio/apt-cacher-ng

By codeworksio

Updated about 8 years ago

Store Linux packages on your network

Image
0

10K+

codeworksio/apt-cacher-ng repository overview

Circle CI Size Version Commit Docker Hub

Docker Apt-Cacher NG

Set up a repository cache on your network so that once a Linux package is downloaded from an official repository, all other machines will download it from your local area network.

Installation

Builds of the image are available on Docker Hub.

docker pull codeworksio/apt-cacher-ng

Alternatively you can build the image yourself.

docker build --tag codeworksio/apt-cacher-ng \
    github.com/codeworksio/docker-apt-cacher-ng

Quickstart

Start container using:

docker run --detach --restart always \
    --name apt-cacher-ng \
    --hostname apt-cacher-ng \
    --publish 3142:3142 \
    codeworksio/apt-cacher-ng

Usage

After starting up an instance of the Apt-Cacher NG server we can build other containers with the following command

make build APT_PROXY=192.168.xxx.xxx:3142

See

Tag summary

Content type

Image

Digest

Size

39.4 MB

Last updated

about 8 years ago

docker pull codeworksio/apt-cacher-ng