Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waterlemons2k/docker-ddns-go
Minimal Docker Image for ddns-go
https://github.com/waterlemons2k/docker-ddns-go
actions ddns ddns-go docker docker-image go golang
Last synced: about 1 month ago
JSON representation
Minimal Docker Image for ddns-go
- Host: GitHub
- URL: https://github.com/waterlemons2k/docker-ddns-go
- Owner: WaterLemons2k
- License: mit
- Created: 2023-02-19T06:37:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-13T00:58:27.000Z (about 1 month ago)
- Last Synced: 2024-10-14T19:40:56.789Z (about 1 month ago)
- Topics: actions, ddns, ddns-go, docker, docker-image, go, golang
- Language: Go
- Homepage: https://hub.docker.com/r/waterlemons2k/ddns-go
- Size: 46.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-ddns-go
Minimal Docker Image for [ddns-go](https://github.com/jeessy2/ddns-go).
Version: v6.7.1English | [简体中文](https://github.com/WaterLemons2k/Docker-ddns-go/blob/main/README.zh-CN.md)
## Why?
The [Official Image](https://hub.docker.com/r/jeessy/ddns-go) is based on [alpine](https://hub.docker.com/_/alpine) and will not be changed due to the requirements for debugging, getting IP by command, etc. (for more infomation, see [jeessy2/ddns-go#340](https://github.com/jeessy2/ddns-go/pull/340))
Therefore, a minimal image based on [scratch](https://hub.docker.com/_/scratch) has been created, containing only ddns-go, the timezone and certificates.
If you need the minimum image size and don't have the above requirements, you can try this image.
## Usage
- Mount the host directory, use the docker host mode. You can replace `/opt/ddns-go` with any directory on your host, the configuration file is a hidden file
```bash
docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root waterlemons2k/ddns-go
```- Open `http://DOCKER_IP:9876` in the browser, modify your configuration
- [Optional] Support startup with parameters `-l`listen address `-f`Sync frequency(seconds)
```bash
docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root waterlemons2k/ddns-go -l :9877 -f 600
```- [Optional] Without using docker host mode
```bash
docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root waterlemons2k/ddns-go
```