Update README.md
This commit is contained in:
parent
a938c7f144
commit
bf3ceb01d8
|
|
@ -1,8 +1,5 @@
|
||||||
# apt-mirror-http-server
|
# apt-mirror-http-server
|
||||||
|
|
||||||
[](https://hub.docker.com/r/seterrychen/apt-mirror-http-server/)
|
|
||||||
[](https://hub.docker.com/r/seterrychen/apt-mirror-http-server/)
|
|
||||||
|
|
||||||
Using Docker to construct your APT(Advanced Packaging Tools) mirror HTTP server.
|
Using Docker to construct your APT(Advanced Packaging Tools) mirror HTTP server.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
@ -19,7 +16,7 @@ docker run -d \
|
||||||
|
|
||||||
### More options with docker command
|
### More options with docker command
|
||||||
|
|
||||||
* `-v /path/your/mirror.list:/etc/apt/mirror.list`: to replace [Ubuntu default mirror.list](https://github.com/seterrychen/apt-mirror-http-server/blob/master/mirror.list)
|
* `-e MIRROR_URL=url`: to replace default URL (http://archive.ubuntu.com/ubuntu) - See [Ubuntu Mirrors](https://launchpad.net/ubuntu/+archivemirrors)
|
||||||
* `-e RESYNC_PERIOD=timeout-value`: to set the resync period, default is 12 hours. To set the [TIMEOUT format description](http://www.cyberciti.biz/faq/linux-unix-sleep-bash-scripting/)
|
* `-e RESYNC_PERIOD=timeout-value`: to set the resync period, default is 12 hours. To set the [TIMEOUT format description](http://www.cyberciti.biz/faq/linux-unix-sleep-bash-scripting/)
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue