@ -30,15 +30,15 @@ The configuration files associated with these installation instructions run Loki
1. Copy and paste the following commands into your command line to download `loki-local-config.yaml` and `promtail-docker-config.yaml` to your `loki` directory.
1. Copy and paste the following commands into your command line to start the Docker containers using the configuration files you downloaded in the previous step.
1. Copy and paste the following commands into your command line to start the Docker containers using the configuration files you downloaded in the previous step. Note that you will need to replace the `<local-path>` in the commands with your local path.
```bash
docker run --name loki -v <local-path>:/mnt/config -p 3100:3100 grafana/loki:3.2.1 --config.file=/mnt/config/loki-config.yaml
docker run -v <local-path>:/mnt/config -v /var/log:/var/log --link loki grafana/promtail:3.2.1 --config.file=/mnt/config/promtail-config.yaml
docker run --name loki -v <local-path>:/mnt/config -p 3100:3100 grafana/loki:3.3.2 --config.file=/mnt/config/loki-config.yaml
docker run -v <local-path>:/mnt/config -v /var/log:/var/log --link loki grafana/promtail:3.3.2 --config.file=/mnt/config/promtail-config.yaml
```
1. Verify that Loki is up and running.
@ -101,7 +101,7 @@ Run the following commands in your command line. They work for Windows or Linux
1. Copy and paste the following command into your command line to download the `docker-compose` file.
@ -47,7 +47,7 @@ The configuration runs Loki as a single binary.
Copy and paste the following commands into your command line to download generic configuration files.
Use the Git references that match your downloaded Loki version to get the correct configuration file.
For example, if you are using Loki version 2.9.2, you need to use the `https://raw.githubusercontent.com/grafana/loki/v2.9.2/cmd/loki/loki-local-config.yaml` URL to download the configuration file.
For example, if you are using Loki version 3.3.2, you need to use the `https://raw.githubusercontent.com/grafana/loki/v3.3.2/cmd/loki/loki-local-config.yaml` URL to download the configuration file.