KeepaliveD on Alpine Linux (compact, only 9MB the whole image) works on CoreOS
4.4K
This is a minimal keepalived image, that does nothing but sets up a virtual IP address (VIP) on the host. Need to be started as --net=host and --privileged to be able to manipulate host's network IF. Uses password auth to keep it simple.
latest / 1.2.19Configuration should be passed as environment variables
INTERFACE network interface to set up VIP as an aliasSTATE initial state: MASTER|SLAVEPASS peer authentication passwordVIP virtual IP addressPRIORITY self explanatorydocker run --privileged --net=host\
-v /lib/modules:/lib/modules\
-e INTERFACE='eth0'\
-e STATE='MASTER'\
-e PASS='example'\
-e VIP='172.27.14.14'\
-e PRIORITY='100'\
zsoltm/keepalived
Should spin up a container which sets up virtual 172.27.14.14 as an alias on eth0. The lib/modules bindig is needed to let keepalived load ipvs kernel module on demand.
Content type
Image
Digest
Size
3.6 MB
Last updated
over 10 years ago
docker pull zsoltm/keepalived