GithubHelp home page GithubHelp logo

duckdns-client-docker's Introduction

Duck DNS client

Duck DNS is a free dynamic DNS hosted on AWS.

If you are into Dockerizing everything or you just want to have a better view over this update process (e.g., to see it in your cluster visualizer), this repository provides you with a Docker image to run the Duck DNS update for your domain.

The provided image is open-source and built from scratch with the goal to enable you to run a stateless and an immutable container, according to the best practices.

Supported architectures:

  • the image supports multiple architectures: x86-64 and arm32
  • the docker manifest is used for multi-platform awareness
  • by simply pulling or running ogivuk/duckdns-client:latest, the correct image for your architecture will be retreived
Tag Transmission Version and Architecture
:latest supports both x64 and arm32v7 architectures
:x64 targeted to the x64 architecture
:arm32v7 targeted to the arm32v7 architecture

Usage

  1. First time only: Prepare the setup

    1. create a folder to hold the duckdns update script and later the generated logs, for example ~/duckdns
    • this folder will be later mounted in the container
    • for Docker Swarm, this directory needs to be available on all nodes in Docker swarm, e.g., via network shared storage
    mkdir ~/duckdns
    1. create the duckdns update script duck.sh for your domain, as described in Duck DNS install
    • only the 2 steps vi duck.sh and echo url=.... Do not set up the cron!
  2. Start the client

    • as a container:

      docker run -d \
          --name=duckdns-client \
          --restart unless-stopped \
          --volume ~/duckdns/:/root/duckdns \
          ogivuk/duckdns-client
    • as a swarm service:

      docker service create \
          --name=duckdns-client \
          --mount type=bind,src=~/duckdns/,dst=/root/duckdns/ \
          ogivuk/duckdns-client
  3. To verify that the updates are working well, inspect the log file duck.log in the mounted directory, for the above example it is ~/duckdns

duckdns-client-docker's People

Contributors

ogivuk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.