docker plugin documentation update (#2689)

* docker plugin documentation update

add --force to plugin disable
link installation and configuration of the plugin

* grant all permissions on upgrade

* change wording
pull/2665/head
Philipp Gassmann 5 years ago committed by GitHub
parent 851dbc2799
commit 5cb32668c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docs/sources/clients/docker-driver/_index.md
  2. 4
      docs/sources/clients/docker-driver/configuration.md

@ -35,7 +35,7 @@ ID NAME DESCRIPTION ENABLED
ac720b8fcfdb loki Loki Logging Driver true
```
Once the plugin is installed it can be [configured](../../configuration/).
Once the plugin is installed it can be [configured](./configuration).
## Upgrading
@ -43,8 +43,8 @@ The upgrade process involves disabling the existing plugin, upgrading, then
re-enabling and restarting Docker:
```bash
docker plugin disable loki
docker plugin upgrade loki grafana/loki-docker-driver:latest
docker plugin disable loki --force
docker plugin upgrade loki grafana/loki-docker-driver:latest --grant-all-permissions
docker plugin enable loki
systemctl restart docker
```
@ -54,6 +54,6 @@ systemctl restart docker
To cleanly uninstall the plugin, disable and remove it:
```bash
docker plugin disable loki
docker plugin disable loki --force
docker plugin rm loki
```

@ -6,6 +6,10 @@ title: Configuration
The Docker daemon on each machine has a default logging driver and
each container will use the default driver unless configured otherwise.
## Installation
Before configuring the plugin, [install or upgrade the Loki Docker Driver Client](../../docker-driver/)
## Change the logging driver for a container
The `docker run` command can be configured to use a different logging driver

Loading…
Cancel
Save