Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ make

1. Pull Docker container using a specific version:
```bash
docker pull prometheuscommunity/bind-exporter:v0.3.0
docker pull prometheuscommunity/bind-exporter:v0.8.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For doc examples, let's just use latest so we don't have to update it later.

Suggested change
docker pull prometheuscommunity/bind-exporter:v0.8.0
docker pull prometheuscommunity/bind-exporter:latest

```
2. Run in a Docker container (as daemon), use `--network host` when communicating with `named` via `localhost`:
```bash
docker run -d --network host prometheuscommunity/bind-exporter:v0.3.0
docker run -d --network host prometheuscommunity/bind-exporter:v0.8.0
```

### Examples

Run `bind_exporter` in a Docker container and communicate with `named` on non-default statistics URL:
```bash
docker run -d prometheuscommunity/bind-exporter:v0.3.0 --bind.stats-url http://<IP/hostname>:8053
docker run -d prometheuscommunity/bind-exporter:v0.8.0 --bind.stats-url http://<IP/hostname>:8053
```

## TLS and basic authentication
Expand Down