Using Docker to construct your APT(Advanced Packaging Tools) mirror HTTP server
Go to file
Terry Chen af0f82107a fix typo 2017-04-27 14:58:53 +08:00
Dockerfile change default mirror url 2015-11-05 10:56:38 +08:00
README.md fix typo 2017-04-27 14:58:53 +08:00
mirror.list add ENV MIRROR_URL to replace apt sources of default mirror.list 2015-08-18 14:21:07 +08:00
setup.sh add "status message" into setup.sh 2015-08-19 12:31:17 +08:00

README.md

apt-mirror-http-server

Docker Stars Docker Pulls

Using Docker to construct your APT(Advanced Packaging Tools) mirror HTTP server.

Usage

Basic command:

docker run -d \
           -v /path/data:/var/spool/apt-mirror \
           -p 8080:80 seterrychen/apt-mirror-http-server
  • -v /path/data: the path which you want to store data

More options with docker command

  • -v /path/your/mirror.list:/etc/apt/mirror.list: to replace Ubuntu default mirror.list
  • -e MIRROR_URL=http://tw.archive.ubuntu.com/ubuntu: to overwrite the mirror.list when you use this option to specify the mirror site
  • -e TIMEOUT=timeout-value: to set the resync period, default is 12 hours. To set the TIMEOUT format description