docker: add tzdata to set the timezone when running container

e.g:
-e "TZ=Europe/London"
This commit is contained in:
nadoo committed 2022-04-19 19:09:20 +08:00
1 parent a153c34e37
commit e862ba79f1
6 files changed
+14 -17

No files matched your search

+2 -5
View File
@@ -226,8 +226,6 @@ glider 0.16.0, https://github.com/nadoo/glider (glider.proxy@gmail.com)
</details>
#### Schemes
<details>
<summary><code>glider -scheme all</code></summary>
@@ -351,7 +349,7 @@ TLS and Websocket with a specified proxy protocol:
tls://host:port[?skipVerify=true],ws://[@/path[?host=HOST]],vmess://[security:]uuid@?alterID=num
--
VM socket scheme:
VM socket scheme(linux only):
vsock://[CID]:port
if you want to listen on any address, just set CID to 4294967295.
@@ -359,8 +357,6 @@ VM socket scheme:
</details>
#### Examples
<details>
<summary><code>glider -example</code></summary>
@@ -428,6 +424,7 @@ Examples:
```
docker run -d --name glider --net host --restart=always \
-v /etc/glider:/etc/glider \
-e "TZ=Europe/London" \
nadoo/glider -config=/etc/glider/glider.conf
```
- run watchtower (if you need auto update for glider)