Title logo
strausmann/keepalived.

Ein Docker Image mit der neuesten keepalived Version

1,101 1 arm64 amd64 arm

Build Information

General build information for this image

Docker Hub strausmann/keepalived
Build Time 07 Nov 2022 21:59:32
Base Image osixia/light-baseimage:alpine-0.1.9
Category Network
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 latest 07 Nov 2022 at 21:35:16

Daily Pull Statistics

Running this as a container

Basic examples for getting this image running as a container

Docker Compose

---
version: "2"
services:
  keepalived:
    image: strausmann/keepalived:latest
    container_name: keepalived
    restart: no
    environment:
      - KEEPALIVED_VIRTUAL_IPS=192.168.1.231 # Keepalived virtual IPs.
      - KEEPALIVED_UNICAST_PEERS =#PYTHON2BASH:['192.168.1.10', '192.168.1.11'] # Keepalived unicast peers. Defaults to : - 192.168.1.10 - 192.168.1.11
      - KEEPALIVED_STATE=MASTER # The starting state of keepalived; it can either be MASTER or BACKUP.
      - KEEPALIVED_ROUTER_ID =51 # Keepalived virtual router ID. Defaults to 51
      - KEEPALIVED_PRIORITY=100 # Keepalived node priority. Defaults to 150
      - KEEPALIVED_PASSWORD=SecurePassword! # Keepalived password. Defaults to d0cker
      - KEEPALIVED_NOTIFY=/container/service/keepalived/assets/notify.sh #  Script to execute when node state change.
      - KEEPALIVED_INTERFACE=eno1 # Keepalived network interface. Defaults to eth0
      - KEEPALIVED_COMMAND_LINE_ARGUMENTS=--log-detail --dump-conf # Keepalived command line arguments;

CLI

docker create \
  --name=keepalived \
  -e KEEPALIVED_VIRTUAL_IPS=192.168.1.231 `# Keepalived virtual IPs.` \
  -e KEEPALIVED_UNICAST_PEERS =#PYTHON2BASH:['192.168.1.10', '192.168.1.11'] `# Keepalived unicast peers. Defaults to : - 192.168.1.10 - 192.168.1.11` \
  -e KEEPALIVED_STATE=MASTER `# The starting state of keepalived; it can either be MASTER or BACKUP.` \
  -e KEEPALIVED_ROUTER_ID =51 `# Keepalived virtual router ID. Defaults to 51` \
  -e KEEPALIVED_PRIORITY=100 `# Keepalived node priority. Defaults to 150` \
  -e KEEPALIVED_PASSWORD=SecurePassword! `# Keepalived password. Defaults to d0cker` \
  -e KEEPALIVED_NOTIFY=/container/service/keepalived/assets/notify.sh `#  Script to execute when node state change.` \
  -e KEEPALIVED_INTERFACE=eno1 `# Keepalived network interface. Defaults to eth0` \
  -e KEEPALIVED_COMMAND_LINE_ARGUMENTS=--log-detail --dump-conf `# Keepalived command line arguments;` \
  --restart no \
  strausmann/keepalived:latest