Public | Automated Build

Last pushed: 3 days ago
Short Description
Run apt-cacher-ng on Ubuntu 14.04
Full Description

Apt-Cacher-NG


Usage

Step 1: Download image

On your docker host:

docker pull technopreneural/docker-ubuntu-14.04-apt-cacher-ng

Step 2: Run container using downloaded image

On your docker host:

docker run -d --name apt-cacher-ng \
-p 3142:3142 \
-v /Users/user/Download/apt-cache:/var/cache/apt-cacher-ng \
technopreneural/docker-ubuntu-14.04-apt-cacher-ng

Step 3: Configure apt on your host

On your debian-based host:

echo "acquire::http::proxy \"http://<docker_host_ip>:3142\";" > /etc/apt/apt.conf.d/02proxy
Docker Pull Command
Owner
technopreneural