Skip to content

feat: adds docker swarm support to docker-containers widget #517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
7 changes: 7 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1826,13 +1826,20 @@ If any of the child containers are down, their status will propagate up to the p
| ---- | ---- | -------- | ------- |
| hide-by-default | boolean | no | false |
| sock-path | string | no | /var/run/docker.sock |
| mode | string | no | standalone |

##### `hide-by-default`
Whether to hide the containers by default. If set to `true` you'll have to manually add a `glance.hide: false` label to each container you want to display. By default all containers will be shown and if you want to hide a specific container you can add a `glance.hide: true` label.

##### `sock-path`
The path to the Docker socket.

##### `mode`
The mode to fetch containers.

- `standalone` (default) fetches all containers on the node
- `swarm` - fetches containers by swarm service on the node

#### Labels
| Name | Description |
| ---- | ----------- |
Expand Down
Loading