Skip to content

Commit 95a6108

Browse files
committed
Added docker build timezone example
1 parent 1899be1 commit 95a6108

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/docker.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,23 @@ The `Dockerfile` has multi-stage definition:
77
## Build the Image
88

99
Arguments can be passed at build time:
10-
* **TIMEZONE**: to set the timezone inside the container
10+
* **TIMEZONE**: to set the timezone inside the container. Default `UTC.`
1111

12-
To build the production container
12+
To build the production container with UTC timezone
1313
```bash
1414
docker build --tag wptagent .
1515
```
16+
17+
changing the timezone at build time
18+
```bash
19+
docker build --build-arg TIMEZONE=EST .
20+
```
21+
1622
To build the debug container
1723
```bash
1824
docker build --target debug --tag wptagent-debug .
1925
```
26+
2027
## Prerequisites to use traffic shaping in docker
2128
**Experimental**: Running the agent with traffic shaping is experimental. It might
2229
have influence on the host system network. Running multiple agents on the

0 commit comments

Comments
 (0)