Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.88 KB

README.md

File metadata and controls

46 lines (35 loc) · 1.88 KB

docker-noip

This is a simple Docker container for running the No-IP2 dynamic DNS update script. It will keep your domain.ddns.net DNS alias up-to-date as your home IP changes.

Codebase

The codebase used for this image can be found here: https://github.com/jorkzijlstra/docker-no-ip

It has been inspired on the [https://hub.docker.com/r/coppit/no-ip(https://hub.docker.com/r/coppit/no-ip) image which is only avaiable for the amd64 architecture.

Image

This image has been build by using docker buildx. by default this uses a tagging schema of adding a DIGEST postfix after the version for each of the architectures.

F.i. for the ARM64 architecture you have to use the image jorkzijlstra/docker-noip:latest@sha256:be7c51d0a803fff40ec897b7c601b9b4251b2a84ec1fbe01e53c0c5d5d9bdc38

Usage

This docker image is available as a trusted build on the docker index.

docker

docker run --name=noip -d -v /etc/localtime:/etc/localtime -v /config/dir/path:/config -e USERNAME=<username> -e PASSWORD=<password> -e DOMAINS=<domains> -e INTERVAL=<interval> jorkzijlstra/docker-noip

docker-compose

version: '3.6'

services:    
  docker-noip:
    image: jorkzijlstra/docker-noip:latest@sha256:be7c51d0a803fff40ec897b7c601b9b4251b2a84ec1fbe01e53c0c5d5d9bdc38
    container_name: noip
    volumes:
      - /etc/localtime:/etc/localtime:ro 
      - /etc/timezone:/etc/timezone:ro
    environment:
      - USERNAME=<email>
      - PASSWORD=<pass>
      - DOMAINS=<domain> 
      - INTERVAL=5m
    restart: always

On start a binary config file /config/dir/path/no-ip2.generated.conf will be generated. Please do not edit this file, as it is used by the noip2 agent. Please do not edit this file, as it is used by the noip2 agent.

To check the status, run docker logs noip.