66
77[ hub ] : https://hub.docker.com/r/osixia/keepalived/
88
9- Latest release: 2.0.10 - Keepalived 2.0.10 - [ Changelog] ( CHANGELOG.md ) | [ Docker Hub] ( https://hub.docker.com/r/osixia/keepalived/ )
9+ Latest release: 2.0.11 - Keepalived 2.0.11 - [ Changelog] ( CHANGELOG.md ) | [ Docker Hub] ( https://hub.docker.com/r/osixia/keepalived/ )
1010
1111** A docker image to run Keepalived.**
1212> [ keepalived.org] ( http://keepalived.org/ )
@@ -23,7 +23,7 @@ Latest release: 2.0.10 - Keepalived 2.0.10 - [Changelog](CHANGELOG.md) | [Docker
2323 - [Link environment file](#link-environment-file)
2424 - [Make your own image or extend this image](#make-your-own-image-or-extend-this-image)
2525 - [Advanced User Guide](#advanced-user-guide)
26- - [Extend osixia/keepalived:2.0.10 image](#extend-osixiakeepalived2010 -image)
26+ - [Extend osixia/keepalived:2.0.11 image](#extend-osixiakeepalived2011 -image)
2727 - [Make your own keepalived image](#make-your-own-keepalived-image)
2828 - [Tests](#tests)
2929 - [Under the hood: osixia/light-baseimage](#under-the-hood-osixialight-baseimage)
@@ -34,7 +34,7 @@ Latest release: 2.0.10 - Keepalived 2.0.10 - [Changelog](CHANGELOG.md) | [Docker
3434
3535This image require the kernel module ip_vs loaded on the host (` modprobe ip_vs ` ) and need to be run with : --cap-add=NET_ADMIN --net=host
3636
37- docker run --cap-add=NET_ADMIN --net=host -d osixia/keepalived:2.0.10
37+ docker run --cap-add=NET_ADMIN --net=host -d osixia/keepalived:2.0.11
3838
3939## Beginner Guide
4040
@@ -44,7 +44,7 @@ but setting your own keepalived.conf is possible. 2 options:
4444
4545- Link your config file at run time to ` /container/service/keepalived/assets/keepalived.conf ` :
4646
47- docker run --volume /data/my-keepalived.conf:/container/service/keepalived/assets/keepalived.conf --detach osixia/keepalived:2.0.10
47+ docker run --volume /data/my-keepalived.conf:/container/service/keepalived/assets/keepalived.conf --detach osixia/keepalived:2.0.11
4848
4949- Add your config file by extending or cloning this image, please refer to the [ Advanced User Guide] ( #advanced-user-guide )
5050
@@ -54,7 +54,7 @@ You may have some problems with mounted files on some systems. The startup scrip
5454
5555To fix that run the container with ` --copy-service ` argument :
5656
57- docker run [your options] osixia/keepalived:2.0.10 --copy-service
57+ docker run [your options] osixia/keepalived:2.0.11 --copy-service
5858
5959### Debug
6060
@@ -63,11 +63,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
6363
6464Example command to run the container in ` debug ` mode:
6565
66- docker run --detach osixia/keepalived:2.0.10 --loglevel debug
66+ docker run --detach osixia/keepalived:2.0.11 --loglevel debug
6767
6868See all command line options:
6969
70- docker run osixia/keepalived:2.0.10 --help
70+ docker run osixia/keepalived:2.0.11 --help
7171
7272
7373## Environment Variables
@@ -88,7 +88,7 @@ See how to [set your own environment variables](#set-your-own-environment-variab
8888
8989 If you want to set this variable at docker run command add the tag ` #PYTHON2BASH: ` and convert the yaml in python:
9090
91- docker run --env KEEPALIVED_UNICAST_PEERS="#PYTHON2BASH:['192.168.1.10', '192.168.1.11']" --detach osixia/keepalived:2.0.10
91+ docker run --env KEEPALIVED_UNICAST_PEERS="#PYTHON2BASH:['192.168.1.10', '192.168.1.11']" --detach osixia/keepalived:2.0.11
9292
9393 To convert yaml to python online : http://yaml-online-parser.appspot.com/
9494
@@ -104,21 +104,23 @@ See how to [set your own environment variables](#set-your-own-environment-variab
104104
105105- ** KEEPALIVED_COMMAND_LINE_ARGUMENTS** Keepalived command line arguments; Defaults to ` --log-detail --dump-conf `
106106
107+ - ** KEEPALIVED_STATE** The starting state of keepalived; it can either be MASTER or BACKUP.
108+
107109### Set your own environment variables
108110
109111#### Use command line argument
110112Environment variables can be set by adding the --env argument in the command line, for example:
111113
112114 docker run --env KEEPALIVED_INTERFACE="eno1" --env KEEPALIVED_PASSWORD="password!" \
113- --env KEEPALIVED_PRIORITY="100" --detach osixia/keepalived:2.0.10
115+ --env KEEPALIVED_PRIORITY="100" --detach osixia/keepalived:2.0.11
114116
115117
116118#### Link environment file
117119
118120For example if your environment file is in : /data/environment/my-env.yaml
119121
120122 docker run --volume /data/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
121- --detach osixia/keepalived:2.0.10
123+ --detach osixia/keepalived:2.0.11
122124
123125Take care to link your environment file to ` /container/environment/XX-somedir ` (with XX < 99 so they will be processed before default environment files) and not directly to ` /container/environment ` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE).
124126
@@ -128,13 +130,13 @@ This is the best solution if you have a private registry. Please refer to the [A
128130
129131## Advanced User Guide
130132
131- ### Extend osixia/keepalived:2.0.10 image
133+ ### Extend osixia/keepalived:2.0.11 image
132134
133135If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
134136
135137Dockerfile example:
136138
137- FROM osixia/keepalived:2.0.10
139+ FROM osixia/keepalived:2.0.11
138140 MAINTAINER Your Name <your@name.com>
139141
140142 ADD keepalived.conf /container/service/keepalived/assets/keepalived.conf
0 commit comments