Skip to content

Commit

Permalink
document storage.path and proper flags in docker instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto committed Apr 3, 2024
1 parent 0e4f34b commit 9e41d26
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/sources/get-started/install/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ docker run \
-v <CONFIG_FILE_PATH>:/etc/alloy/config.alloy \
-p 12345:12345 \
grafana/alloy:latest \
run --server.http.listen-addr=0.0.0.0:12345 /etc/alloy/config.alloy
run --server.http.listen-addr=0.0.0.0:12345 --storage.path=/var/lib/alloy/data \
/etc/alloy/config.alloy
```

Replace the following:
Expand All @@ -55,10 +56,11 @@ To run {{< param "PRODUCT_NAME" >}} as a Windows Docker container, run the follo

```shell
docker run \
-v <CONFIG_FILE_PATH>:C:\etc\alloy\config.alloy \
-v "<CONFIG_FILE_PATH>:C:\Program Files\GrafanaLabs\Alloy\config.alloy" \
-p 12345:12345 \
grafana/alloy:latest-windows \
run --server.http.listen-addr=0.0.0.0:12345 C:\etc\alloy\config.alloy
run --server.http.listen-addr=0.0.0.0:12345 "--storage.path=C:\ProgramData\GrafanaLabs\Alloy\data" \
"C:\Program Files\GrafanaLabs\Alloy\config.alloy"
```

Replace the following:
Expand Down

0 comments on commit 9e41d26

Please sign in to comment.