run apt-mirror inside docker. Either runs once and stops the container or indefinitely daily
1.1K
Docker image to clone given repositories.
The image can either run apt-mirror immediatly and stopping after one run or as a daily cron-alike job.
/mirror.list - The configuration of apt-mirror. By default fetches
artful: main restricted universe multiverse main/debian-installerstretch: main contrib non-free main/debian-installer/var/spool/apt-mirror - The persistent storage. The 3 subdirectories will be created if they do not yet exist:
mirrorskelvarRUNAT - Run apt-mirror daily at the given time. Format: HH:mm
apt-mirror will run immediatly and the docker container will stop after the run.docker run --rm -v /path/to/local/mirror.list:/mirror.list -v /path/to/local/apt-mirror-storage:/var/spool/apt-mirror 5nafu:apt-mirror
docker run --rm -v /path/to/local/mirror.list:/mirror.list -v /path/to/local/apt-mirror-storage:/var/spool/apt-mirror -e RUNAT="3:00" 5nafu:apt-mirror
Content type
Image
Digest
Size
71.6 MB
Last updated
over 7 years ago
docker pull 5nafu/apt-mirror