Containerized IPv6 ULA Router Advertisement daemon (radvd) on Alpine Linux
1.8K
Containerized IPv6 ULA Router Advertisement for Stable Internal Networking
radvd-container provides a minimal, containerized way to advertise IPv6 Unique Local Address (ULA) prefixes on local networks using Router Advertisements (RA).
It is designed for environments where ISPs delegate unstable IPv6 prefixes, making it impossible to rely on predictable global IPv6 addresses for internal services.
This container restores stable IPv6 addressing for home labs, self‑hosting, and internal infrastructure—without depending on ISP behavior, router firmware features, or deprecated Linux mechanisms.
🌐 Project website: https://neuraldesigns.ca/radvd-container
Many consumer ISPs delegate a single IPv6 /64 prefix that changes unpredictably. Linux previously allowed stable interface identifiers using the token keyword, but that feature has been removed.
This project exists to solve that problem.
By advertising a locally scoped IPv6 ULA prefix (fc00::/7) using radvd, internal devices gain stable, predictable IPv6 addresses that do not depend on ISP prefix delegation.
Running radvd as a container keeps the solution:
This allows internal services to bind to static IPv6 addresses while remaining fully isolated from ISP prefix churn.
This separation restores IPv6 usability without NAT or DHCPv6.
Available on Docker Hub and GitHub Container Registry:
docker pull udp1024/radvd-alpine:edge
A minimal radvd.conf is required to advertise the ULA prefix.
You can:
Review example configurations in the documentation Generate a baseline configuration using the included setup script Documentation and examples: https://github.com/udp1024/radvd-container
Project website: https://neuraldesigns.ca/radvd-container
GitHub repository: https://github.com/udp1024/radvd-container
Docker image: udp1024/radvd-alpine
MIT License
Docker Hub:
docker run --name radvd \
--net=host \
--cap-add=NET_ADMIN \
--cap-add=NET_RAW \
udp1024/radvd-alpine:latest
GitHub Container Registry:
docker pull ghcr.io/udp1024/radvd-container:latest
docker run --name radvd \
--net=host \
--cap-add=NET_ADMIN \
--cap-add=NET_RAW \
ghcr.io/udp1024/radvd-container:latest
Note: --net=host, --cap-add=NET_ADMIN and --cap-add=NET_RAW are required. Radvd needs to run as root on the host network interface to open raw sockets for sending ICMPv6 router advertisements.
The container comes with a non-invasive, passive default configuration located at /etc/radvd.conf. The config is liberally commented to document settings.
To use your own configuration, mount a custom radvd.conf file to /etc/radvd.conf:
docker run -d \
--name radvd \
--net=host \
--cap-add=NET_ADMIN \
--cap-add=NET_RAW \
-v $(pwd)/radvd.conf:/etc/radvd.conf \
udp1024/radvd-alpine:latest
If you encounter issues, you can enable verbose logging by setting the DEBUG environment variable to 1. This will launch radvd with the -d 5 flag.
docker run -d \
--name radvd \
--net=host \
--cap-add=NET_ADMIN \
--cap-add=NET_RAW \
-e DEBUG=1 \
udp1024/radvd-alpine:edge
This project is configured to automatically build and publish images to GHCR and Docker Hub on new releases.
docker pull udp1024/radvd-alpine:latest