From a5dc7ea9b335ca82229010e9acf6b3cb15023908 Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Fri, 24 Sep 2021 13:51:08 +0200 Subject: [PATCH] =?UTF-8?q?doc:=20=F0=9F=93=9D=20document=20docker=20param?= =?UTF-8?q?eters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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'