From 31818ffec18becfe32e240f20f165a93b03ec800 Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Fri, 24 Sep 2021 13:51:08 +0200 Subject: [PATCH] :memo: document docker parameters --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5599612..ef56d2a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,10 @@ IPv4 (A) and IPv6 (AAAA) record updates are supported. - [⚙ Configuration](#-configuration) - [🏃 Run](#-run) - [⏰ Cron](#-cron) + - [loop mode](#loop-mode) + - [crontab](#crontab) - [🐟 docker](#-docker) +- [environment variables](#environment-variables) @@ -132,11 +135,17 @@ then enter :point_down: to run dynb every five minutes. */5 * * * * $HOME/.local/bin/dynb >> $HOME/.local/share/dynb/dynb-cron.log ``` +alternative with docker and parameters:: + +```bash +*/5 * * * * docker run --interactive --tty --rm --network host ev21/dynb:latest --ip-mode 64 --update-method domrobot --domain dyndns.example.com --username user42 --password SuperSecretPassword +``` + Note, cron typically does not use the users PATH variable. ## 🐟 docker -This is an example of a `docker-compose.yml` file. If you are using IPv6 make sure the routing works properly with your docker container. +This is an example of a `docker-compose.yml` file. If you are using IPv6 make sure the routing works properly with your docker container. Note: [IPv6 networking](https://docs.docker.com/config/daemon/ipv6/) is only supported on Docker daemons running on Linux hosts. ```yaml version: '3.4'