Skip to content

Latest commit

 

History

History
71 lines (44 loc) · 2.51 KB

README.md

File metadata and controls

71 lines (44 loc) · 2.51 KB

Docker Pulls Docker Image Size (tag)

Tags

NO-IP Dynamic DNS Update Client

A simple Docker container for running the NO-IP dynamic DNS update script. It will keep current IP address in sync with your No-IP host or domain.

⚠️ Raspberry Pi users running 32 bit systems: The latest alpine update causes high cpu utilization. You can either use tag 3.12, which uses alpine:1.12 or update libseccomp

Usage

Running the container

There are two ways of running this container. As a regular container and as a service.

Regular container:

Running the image as a regular container uses environment variables to pass username, password, domains and interval from the host to the container.

docker container run -d -e USERNAME=user1 -e PASSWORD=123 -e "DOMAINS=domain1.ddns.net" -e INTERVAL=5 aanousakis/no-ip

You can add multiple domains ex "DOMAINS=domain1.ddns.net domain2.ddns.net domain.foo.com"

As a service:

Running the image as a service uses secrets to pass username, password, domains and interval from the host to the container.

First you have to install docker compose

installation instructions

Then download docker-compose.yml file and the scripts to set Docker secrets.

git clone https://github.com/aanousakis/no-ip.git    
cd no-ip/

Then you can deploy the service with :

docker swarm init
./deploy.sh 

The deploy.sh script will ask for your username, password, domains and update interval. Then it will set the secrets and start a service called no-ip_service.

The service if configured to restart if an error occurs.

Building the image

The image in Docker hub is build for the x86_64 architecture and cannot run on other platforms. If, for example, you want to run it on a host with arm architecture, you must build the image in that host.

git clone https://github.com/aanousakis/no-ip.git    
cd no-ip/
docker build --tag=aanousakis/no-ip .

Author

  • Antony Anousakis