Skip to content

Commit

Permalink
docs: make <placeholders> visible (#2092)
Browse files Browse the repository at this point in the history
* Fix on docs: make <placeholders> visible

Added backslashes to make<placeholders> visible in parsed text.

* docs: make it look a bit better
  • Loading branch information
i-takizawa authored May 25, 2020
1 parent a0546a3 commit 8cbeb53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ wget https://raw.githubusercontent.com/grafana/loki/v1.5.0/cmd/promtail/promtail
docker run -v $(pwd):/mnt/config -v /var/log:/var/log grafana/promtail:1.5.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.
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.

Navigate to http://localhost:3100/metrics to view the metrics and http://localhost:3100/ready for readiness.

Expand All @@ -30,7 +30,7 @@ by specifying `--user=UID` with numeric UID suited to your needs.

**Windows**

Copy and paste the commands below into your terminal. Note that you will need to replace the <placeholders> in the commands with your local path.
Copy and paste the commands below into your terminal. Note that you will need to replace the `<placeholders>` in the commands with your local path.

```bash
cd "<local-path>"
Expand All @@ -40,7 +40,7 @@ wget https://raw.githubusercontent.com/grafana/loki/v1.5.0/cmd/promtail/promtail
docker run -v <local-path>:/mnt/config -v /var/log:/var/log grafana/promtail:1.5.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.
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.

Navigate to http://localhost:3100/metrics to view the output.

Expand Down

0 comments on commit 8cbeb53

Please sign in to comment.