From ec5784219fb204c466369669e6b9e29de31cfc63 Mon Sep 17 00:00:00 2001 From: Amine Date: Tue, 26 Jun 2018 01:05:20 +0200 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ee7ff1e..764b87d 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,13 @@ rpi-noip is a docker image of the official [no-ip](http://www.noip.com/) Dynamic 1. Setup an account in www.noip.com -2. Run `docker run -ti -v "noip:/usr/local/etc/" hypriot/rpi-noip noip2 -C` +2. Create a folder in / named noip, for example, `cd / ; sudo mkdir noip` - This step will ask for your noip credentials and generate the necessary configuration for your container to run +3. Run `sudo docker run -ti -v "/noip:/usr/local/etc/" hypriot/rpi-noip noip2 -C` -3. Run `docker run -v "noip:/usr/local/etc/" -d --restart=always hypriot/rpi-noip` + This step will ask for your noip credentials and generate the necessary configuration for your container to run. The configuration file will be persisted in the /noip folder. + +4. Run `sudo docker run -d -v "/noip:/usr/local/etc/" --restart=always hypriot/rpi-noip` This will start your noip container daemon and it will restart it even if you restart your pi, now you can access your device anywhere in the world as it will update the DNS automatically