From 4c6f8e8149443b92223d16378dff3afc66807b05 Mon Sep 17 00:00:00 2001 From: Andreas Plesner Date: Tue, 26 Jan 2021 15:21:50 +0100 Subject: [PATCH] docs: point to latest release for docker installation (#3235) Signed-off-by: Andreas Plesner --- docs/sources/installation/docker.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/sources/installation/docker.md b/docs/sources/installation/docker.md index dc5d65586263..e619604cb82c 100644 --- a/docs/sources/installation/docker.md +++ b/docs/sources/installation/docker.md @@ -18,10 +18,10 @@ For production, we recommend installing with Tanka or Helm. Copy and paste the commands below into your command line. ```bash -wget https://github.com/raw/grafana/loki/v2.0.0/cmd/loki/loki-local-config.yaml -O loki-config.yaml -docker run -v $(pwd):/mnt/config -p 3100:3100 grafana/loki:2.0.0 -config.file=/mnt/config/loki-config.yaml -wget https://github.com/raw/grafana/loki/v2.0.0/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml -docker run -v $(pwd):/mnt/config -v /var/log:/var/log grafana/promtail:2.0.0 -config.file=/mnt/config/promtail-config.yaml +wget https://github.com/raw/grafana/loki/v2.1.0/cmd/loki/loki-local-config.yaml -O loki-config.yaml +docker run -v $(pwd):/mnt/config -p 3100:3100 grafana/loki:2.1.0 -config.file=/mnt/config/loki-config.yaml +wget https://github.com/raw/grafana/loki/v2.1.0/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml +docker run -v $(pwd):/mnt/config -v /var/log:/var/log grafana/promtail:2.1.0 -config.file=/mnt/config/promtail-config.yaml ``` When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files. @@ -36,10 +36,10 @@ Copy and paste the commands below into your terminal. Note that you will need to ```bash cd "" -wget https://github.com/raw/grafana/loki/v2.0.0/cmd/loki/loki-local-config.yaml -O loki-config.yaml -docker run -v :/mnt/config -p 3100:3100 grafana/loki:2.0.0 --config.file=/mnt/config/loki-config.yaml -wget https://github.com/raw/grafana/loki/v2.0.0/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml -docker run -v :/mnt/config -v /var/log:/var/log grafana/promtail:2.0.0 --config.file=/mnt/config/promtail-config.yaml +wget https://github.com/raw/grafana/loki/v2.1.0/cmd/loki/loki-local-config.yaml -O loki-config.yaml +docker run -v :/mnt/config -p 3100:3100 grafana/loki:2.1.0 --config.file=/mnt/config/loki-config.yaml +wget https://github.com/raw/grafana/loki/v2.1.0/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml +docker run -v :/mnt/config -v /var/log:/var/log grafana/promtail:2.1.0 --config.file=/mnt/config/promtail-config.yaml ``` When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files. @@ -51,6 +51,6 @@ Navigate to http://localhost:3100/metrics to view the output. Run the following commands in your command line. They work for Windows or Linux systems. ```bash -wget https://github.com/raw/grafana/loki/v2.0.0/production/docker-compose.yaml -O docker-compose.yaml +wget https://github.com/raw/grafana/loki/v2.1.0/production/docker-compose.yaml -O docker-compose.yaml docker-compose -f docker-compose.yaml up ```