Update README.md

Update how to set hostname
This commit is contained in:
Tobias Kaupat
2020-01-07 16:30:14 +01:00
committed by GitHub
parent e81386c51a
commit 0f6a7bd462

View File

@@ -87,7 +87,7 @@ The container is setup by setting [environment variables](https://docs.docker.co
Since restic saves the hostname with each snapshot and the hostname of a docker container is derived from it's id you might want to customize this by setting the hostname of the container to another value.
Either by setting the [environment variable](https://docs.docker.com/engine/reference/run/#env-environment-variables) `HOSTNAME` or with `--hostname` in the [network settings](https://docs.docker.com/engine/reference/run/#network-settings)
Set `--hostname` in the [network settings](https://docs.docker.com/engine/reference/run/#network-settings)
## Backup via SFTP