Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stefaniuk/docker-apt-cacher-ng

Store Linux packages on your network
https://github.com/stefaniuk/docker-apt-cacher-ng

apt-cacher-ng docker-application docker-image

Last synced: about 6 hours ago
JSON representation

Store Linux packages on your network

Awesome Lists containing this project

README

        

[![Circle CI](https://circleci.com/gh/codeworksio/docker-apt-cacher-ng.svg?style=shield "CircleCI")](https://circleci.com/gh/codeworksio/docker-apt-cacher-ng) [![Size](https://images.microbadger.com/badges/image/codeworksio/apt-cacher-ng.svg)](http://microbadger.com/images/codeworksio/apt-cacher-ng) [![Version](https://images.microbadger.com/badges/version/codeworksio/apt-cacher-ng.svg)](http://microbadger.com/images/codeworksio/apt-cacher-ng) [![Commit](https://images.microbadger.com/badges/commit/codeworksio/apt-cacher-ng.svg)](http://microbadger.com/images/codeworksio/apt-cacher-ng) [![Docker Hub](https://img.shields.io/docker/pulls/codeworksio/apt-cacher-ng.svg)](https://hub.docker.com/r/codeworksio/apt-cacher-ng/)

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](https://hub.docker.com/r/codeworksio/apt-cacher-ng/).

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

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

make build APT_PROXY=localhost:3142

See
---

* [Apt-Cacher NG](https://www.unix-ag.uni-kl.de/~bloch/acng/)