Skip to content

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

Notifications You must be signed in to change notification settings

dosammy/docker-apt-mirror

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

apt-mirror-http-server

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 my mirror.list
  • -e RESYNC_PERIOD=timeout-value: to set the resync period, default is 12 hours. To set the TIMEOUT format description

Changelog

  • 2021-11-12: version 0.1.3

    • forked original repo
    • Update base image to Ubuntu 21.10
    • Update mirror.list to the last three version
  • 2017-07-27: version 0.1.2

    • Fix the container started twice: "httpd (pid 13) already running"
  • 2017-04-28: version 0.1.1

    • Fix http server doesn't start after the container restarted
  • 2017-04-27: version 0.1

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 78.3%
  • Dockerfile 21.7%