Docker image that retrieves your public IP regularly and prints to stdout.
Conigured via environment variables.
Variable Name | Default Value |
---|---|
INTERVAL | 1m |
ENDPOINT | https://checkip.amazonaws.com |
With standard configuration:
docker run ghcr.io/joedmck/docker-public-ip-poll:main
Changing interval:
docker run -e INTERVAL="5s" ghcr.io/joedmck/docker-public-ip-poll:main
Changing endpoint:
docker run -e ENDPOINT="https://api64.ipify.org/" ghcr.io/joedmck/docker-public-ip-poll:main