Title logo
strausmann/keepalived-swarm.

Operator for keepalived on docker swarm.

14,882 0 amd64

Build Information

General build information for this image

Docker Hub strausmann/keepalived-swarm
Build Time 08 Nov 2021 19:41:27
Base Image lolhens/debian-jq
Category keepalived, swarm
Synchronised Yes
Stable Yes
Deprecated No

Support Information

External links and support

Tracked Tags

Known tags which link to a specific branched app version.

Branch Version Built
latest v1.0.0 08 Nov 2021 at 19:41:26

Daily Pull Statistics

Running this as a container

Basic examples for getting this image running as a container

Docker Compose

---
version: "2"
services:
  keepalived-swarm:
    image: strausmann/keepalived-swarm:v1.0.0
    container_name: keepalived-swarm
    network_mode: host
    restart: always
    environment:
      - KEEPALIVED_VIRTUAL_IPS='192.168.1.231, 192.168.1.232'
    volumes:
      - /host/path/to/var/run/docker.sock:/var/run/docker.sock # Docker SOCK
      - /host/path/to/usr/bin/docker:/usr/bin/docker:ro # Docker Data

CLI

docker create \
  --name=keepalived-swarm \
  --net=host \
  -e KEEPALIVED_VIRTUAL_IPS='192.168.1.231, 192.168.1.232' \
  -v /host/path/to/var/run/docker.sock:/var/run/docker.sock `# Docker SOCK` \
  -v /host/path/to/usr/bin/docker:/usr/bin/docker:ro `# Docker Data` \
  --restart always \
  strausmann/keepalived-swarm:v1.0.0