Skip to content

Commit bc1794e

Browse files
authored
docs: fix admonition, line spacing (#15462) (#15480)
1 parent 09144bb commit bc1794e

File tree

1 file changed

+15
-11
lines changed
  • docs/sources/send-data/docker-driver

1 file changed

+15
-11
lines changed

docs/sources/send-data/docker-driver/_index.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ Grafana Loki officially supports a Docker plugin that will read logs from Docker
1212
containers and ship them to Loki. The plugin can be configured to send the logs
1313
to a private Loki instance or [Grafana Cloud](/oss/loki).
1414

15-
{{% admonition type="note" %}}
15+
{{< admonition type="note" >}}
1616
Docker plugins are not supported on Windows; see the [Docker Engine managed plugin system](https://docs.docker.com/engine/extend) documentation for more information.
17-
{{% /admonition %}}
17+
{{< /admonition >}}
1818

1919
Documentation on configuring the Loki Docker Driver can be found on the
20-
[configuration page]({{< relref "./configuration" >}}).
21-
22-
If you have any questions or issues using the Docker plugin, open an issue in
20+
If you have any questions or issues using the Docker plugin, open an issue in
2321
the [Loki repository](https://github.com/grafana/loki/issues).
2422

2523
## Install the Docker driver client
@@ -32,20 +30,25 @@ Run the following command to install the plugin, updating the release version if
3230
docker plugin install grafana/loki-docker-driver:2.9.2 --alias loki --grant-all-permissions
3331
```
3432

35-
To check installed plugins, use the `docker plugin ls` command.
33+
{{< admonition type="note" >}}
34+
Add `-arm64` to the image tag for AMR64 hosts.
35+
{{< /admonition >}}
36+
37+
To check installed plugins, use the `docker plugin ls` command.
3638
Plugins that have started successfully are listed as enabled:
3739

3840
```bash
39-
$ docker plugin ls
41+
docker plugin ls
4042
```
43+
4144
You should see output similar to the following:
4245

4346
```bash
4447
ID NAME DESCRIPTION ENABLED
4548
ac720b8fcfdb loki Loki Logging Driver true
4649
```
4750

48-
Once you have successfully installed the plugin you can [configure]({{< relref "./configuration" >}}) it.
51+
Once you have successfully installed the plugin you can [configure](https://grafana.com/docs/loki/<LOKI_VERSION/configure/) it.
4952

5053
## Upgrade the Docker driver client
5154

@@ -58,9 +61,10 @@ docker plugin upgrade loki grafana/loki-docker-driver:2.9.2 --grant-all-permissi
5861
docker plugin enable loki
5962
systemctl restart docker
6063
```
61-
{{% admonition type="note" %}}
64+
65+
{{< admonition type="note" >}}
6266
Update the version number to the appropriate version.
63-
{{% /admonition %}}
67+
{{< /admonition >}}
6468

6569
## Uninstall the Docker driver client
6670

@@ -77,4 +81,4 @@ The driver keeps all logs in memory and will drop log entries if Loki is not rea
7781

7882
The wait time can be lowered by setting `loki-retries=2`, `loki-max-backoff=800ms`, `loki-timeout=1s` and `keep-file=true`. This way the daemon will be locked only for a short time and the logs will be persisted locally when the Loki client is unable to re-connect.
7983

80-
To avoid this issue, use the Promtail [Docker target]({{< relref "../../send-data/promtail/configuration#docker" >}}) or [Docker service discovery]({{< relref "../../send-data/promtail/configuration#docker_sd_configs" >}}).
84+
To avoid this issue, use the Promtail [Docker target](https://grafana.com/docs/loki/<LOKI_VERSION>/send-data/promtail/configuration/#docker) or [Docker service discovery](https://grafana.com/docs/loki/<LOKI_VERSION>/send-data/promtail/configuration/#docker_sd_configs).

0 commit comments

Comments
 (0)