This commit is contained in:
CrazyMax
2019-06-08 03:24:46 +02:00
parent 4db467b07e
commit b4e9852821

View File

@@ -37,7 +37,7 @@ Choose the archive matching the destination platform and extract diun:
```
$ cd /opt
$ wget -qO- https://github.com/crazy-max/diun/releases/download/v0.3.0/diun_0.3.0_linux_x86_64.tar.gz | tar -zxvf - diun
$ wget -qO- https://github.com/crazy-max/diun/releases/download/v0.3.1/diun_0.3.1_linux_x86_64.tar.gz | tar -zxvf - diun
```
After getting the binary, it can be tested with `./diun --help` or moved to a permanent location.
@@ -132,7 +132,7 @@ items:
```
* `db`
* `path`: Path to Bolt database file where images analysis are stored. Flag `--docker` force this path to `/data/diun.db` (default: `diun.db`).
* `path`: Path to Bolt database file where images manifests are stored. Flag `--docker` force this path to `/data/diun.db` (default: `diun.db`).
* `watch`
* `schedule`: [CRON expression](https://godoc.org/github.com/crazy-max/cron#hdr-CRON_Expression_Format) to schedule Diun watcher. _Optional_. (default: `0 0 * * * *`).
* `os`: OS to use for choosing images. _Optional_. (default: `linux`).