tweak readme wording

This commit is contained in:
Hector 2021-08-31 12:38:50 +00:00
parent 5039325714
commit 2fa9f5bcae

View File

@ -89,8 +89,8 @@ The docker image is designed to run by mounting either the fail2ban sqlite3 data
Both paths can be mounted with readonly (`ro`) permissions. Both paths can be mounted with readonly (`ro`) permissions.
**NOTE:** While it is possible to mount the `fail2ban.sock` file directly, I recommend mounting the parent folder instead. **NOTE:** While it is possible to mount the `fail2ban.sock` file directly, it is recommended to mount the parent folder instead.
The `.sock` file is deleted by fail2ban on shutdown and then re-created on startup and this causes problems for the docker mount. The `.sock` file is deleted by fail2ban on shutdown and re-created on startup and this causes problems for the docker mount.
See [this reply](https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/issues/11#note_665003499) for more details. See [this reply](https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/issues/11#note_665003499) for more details.
### 3.2. Docker run ### 3.2. Docker run