Git Product home page Git Product logo

docker-ddclient's Introduction

docker-ddclient

What is docker-ddclient?

docker-ddclient is a unofficial docker image for ddclient (sf, github). docker-ddclient is based on on Alpine linux for simplicity and small footprint.

How to use this image

The image itself is very simple exposing no network ports and only a single volume (/etc/ddclient). One way to start a container could be:

docker run \
    --detach \
    --name ddclient \
    --restart always \
    --volume /etc/ddclient:/etc/ddclient:rw \
    gcscaglia/docker-ddclient:latest

With the above comand, ddclient will run in daemon mode, start with the system and read it's configurations from /etc/ddclient/ddclient.conf in the host's filesystem.

For info on how to craft the ddclient.conf file, please refer to the documentation of ddclient itself.

Caveats

By default containers don't have access to the host's network interfaces, instead accessing the network through the docker bridge.

If your ddclient.conf determines your IP using web method, this difference in networking is irrelevant. If, instead, it uses the interface (if) method the easier solution is to change the container networking to host mode. i.e:

docker run \
    --detach \
    --name ddclient \
    --restart always \
    --volume /etc/ddclient:/etc/ddclient:rw \
    --net host \
    gcscaglia/docker-ddclient:latest

With host networking, all host interfaces are exposed directly to your container and can be used as-is.

docker-ddclient's People

Contributors

gcscaglia 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.