Update README.md

This commit is contained in:
kongkrit 2020-01-29 15:34:23 +07:00 committed by GitHub
parent 4c32d493bc
commit 1e9ca09bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ docker run -d \
* `-e MIRROR_URL=url`: to replace default URL (http://archive.ubuntu.com/ubuntu) - See [Ubuntu Mirrors](https://launchpad.net/ubuntu/+archivemirrors)
* `-e EXTRA1=text`: to add more repo to mirror - for example:
```-e EXTRA1="deb http://ppa.launchpad.net/jonathonf/zfs/ubuntu bionic main"``` will add this extra line to the list file
```
-e EXTRA1="deb http://ppa.launchpad.net/jonathonf/zfs/ubuntu bionic main"
```
will add this extra line to the mirror.list file
* `-e EXTRA2, EXTRA3, EXTRA4, EXTRA5`: same as EXTRA1
* `-e TIMEOUT=timeout-value`: to set the resync period, default is 12 hours. See the [TIMEOUT format description](http://www.cyberciti.biz/faq/linux-unix-sleep-bash-scripting/)
* `-e NTHREADS=10`: number of wget threads to use to pull from MIRROR_URL - default to 10