Merge pull request #461 from Germs2004/patch-1

document the TZ environment variable
This commit is contained in:
Simon Aronsson 2020-03-12 19:03:06 +01:00 committed by GitHub
commit 8f5c97a887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,16 @@ Environment Variable: N/A
Default: N/A Default: N/A
``` ```
## Time Zone
Sets the time zone to be used by WatchTower's logs and the optional Cron scheduling argument (--schedule). If this environment variable is not set, Watchtower will use the default time zone: UTC.
```
Argument: N/A
Environment Variable: TZ
Type: String
Default: "UTC"
```
## Cleanup ## Cleanup
Removes old images after updating. When this flag is specified, watchtower will remove the old image after restarting a container with a new image. Use this option to prevent the accumulation of orphaned images on your system as containers are updated. Removes old images after updating. When this flag is specified, watchtower will remove the old image after restarting a container with a new image. Use this option to prevent the accumulation of orphaned images on your system as containers are updated.