Compare commits

...

10 Commits

Author SHA1 Message Date
ofreax 3f44f60f3f Merge branch 'hotfix-0.1.9' into stable 2015-11-20 10:46:32 +01:00
ofreax 1ca3a0da5b light-baseimage:0.1.5 2015-11-20 10:21:54 +01:00
ofreax 569a582839 [twgit] Init hotfix 'hotfix-0.1.9'. 2015-11-20 10:20:54 +01:00
Bertrand Gouny bf445ef9bf Merge branch 'hotfix-0.1.8' into stable 2015-11-19 15:16:19 +01:00
Bertrand Gouny c7291a3a97 light-baseimage:0.1.4 2015-11-19 15:09:38 +01:00
Bertrand Gouny b5e8781264 [twgit] Init hotfix 'hotfix-0.1.8'. 2015-11-19 15:08:49 +01:00
Bertrand Gouny de03d7af70 Merge branch 'hotfix-0.1.7' into stable 2015-10-26 15:21:44 +01:00
Bertrand Gouny 8184cf1a10 Upgrade baseimage: osixia/light-baseimage:0.1.2 2015-10-26 15:12:52 +01:00
Bertrand Gouny db6af708db [twgit] Init hotfix 'hotfix-0.1.7'. 2015-10-26 15:12:34 +01:00
osixia c199795650 Update README.md 2015-08-24 19:46:29 +02:00
4 changed files with 18 additions and 9 deletions
+10 -1
View File
@@ -1,11 +1,20 @@
# Changelog
## 0.1.9
- Upgrade baseimage: light-baseimage:0.1.5
## 0.1.8
- Upgrade baseimage: light-baseimage:0.1.4
## 0.1.7
- Upgrade baseimage: light-baseimage:0.1.2
## 0.1.6
- Better way to add custom config
- Improve documentation
## 0.1.5
- Upgrade baseimage: osixia/light-baseimage:0.1.1
- Upgrade baseimage: light-baseimage:0.1.1
## 0.1.4
- Use light-baseimage
+1 -1
View File
@@ -1,5 +1,5 @@
NAME = osixia/keepalived
VERSION = 0.1.6
VERSION = 0.1.9
.PHONY: all build test tag_latest release
+5 -5
View File
@@ -7,13 +7,13 @@ A docker image to run Keepalived.
## Quick start
This image require the kernel module ip_vs loaded on the host and need to be run with : --privileged --net=host
This 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
docker run --privileged --net=host -d osixia/keepalived
docker run --cap-add=NET_ADMIN --net=host -d osixia/keepalived
## Environment Variables
Environement variables defaults are set in **image/env.yaml**. You can modify environment variable values directly in this file and rebuild the image ([see manual build](#manual-build)). You can also override those values at run time with -e argument or by setting your own env.yaml file as a docker volume to `/etc/env.yaml`. See examples below.
Environement variables defaults are set in **image/env.yaml**. You can modify environment variable values directly in this file and rebuild the image ([see manual build](#manual-build)). You can also override those values at run time with -e argument or by setting your own env.yaml file as a docker volume to `/container/environment/env.yaml`. See examples below.
- **KEEPALIVED_INTERFACE**: Keepalived network interface. Defaults to `eth0`
- **KEEPALIVED_PASSWORD**: Keepalived password. Defaults to `d0cker`
@@ -46,9 +46,9 @@ Environment variable can be set directly by adding the -e argument in the comman
docker run -e KEEPALIVED_INTERFACE="eno1" -e KEEPALIVED_PASSWORD="password!" \
-e KEEPALIVED_PRIORITY="100" -d osixia/keepalived
Or by setting your own `env.yaml` file as a docker volume to `/etc/env.yaml`
Or by setting your own `env.yaml` file as a docker volume to `/container/environment/env.yaml`
docker run -v /data/my-env.yaml:/etc/env.yaml \
docker run -v /data/my-env.yaml:/container/environment/env.yaml \
-d osixia/keepalived
## Manual build
+2 -2
View File
@@ -1,4 +1,4 @@
FROM osixia/light-baseimage:0.1.1
FROM osixia/light-baseimage:0.1.5
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.net>
# Keepalived version
@@ -39,4 +39,4 @@ RUN /container/tool/install-service \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Add default env variables
ADD env.yaml /etc/env.yaml
ADD env.yaml /container/environment/env.yaml