Comments (8)
Thanks for accepting the change.
FYI, we've added your docker image as the default keepalived option for to our project kubernetes installation project: https://github.com/ReSearchITEng/kubeadm-playbook/blob/50a26fd52ae32b6782caf23e941f44667771ede7/roles/keepalived/tasks/main.yaml#L26
from docker-keepalived.
I noticed that the docker image on docker-hub does not match the Dockerfile.
https://github.com/osixia/docker-keepalived/blob/stable/image/Dockerfile -> does contain curl, which the images from https://hub.docker.com/r/osixia/keepalived do not...
from docker-keepalived.
@ReSearchITEng it's the same file use on github and for the docker image
curl is installed and then removed check
docker-keepalived/image/Dockerfile
Line 36 in ed415f6
from docker-keepalived.
yes, it's there in the Dockerfile, but not in the images...
Am I doing something wrong?
docker run -d --name test osixia/keepalived:latest
docker exec test curl
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"curl\": executable file not found in $PATH"
docker exec test /bin/curl
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"/bin/curl\": stat /bin/curl: no such file or directory"
[docker@docker01:0 ~]$ docker exec -ti test bash
bash-4.3# curl
bash: curl: command not found
bash-4.3# which bash
/bin/bash
bash-4.3# which curl
bash-4.3# which curl | wc -l
0
from docker-keepalived.
in the same run statement curl is installed to download keepalived sources and then removed, so yes it's not available in the docker image
install :
docker-keepalived/image/Dockerfile
Line 11 in ed415f6
removed
docker-keepalived/image/Dockerfile
Line 36 in ed415f6
from docker-keepalived.
Oh, sorry, I see the remove.
so, can we keep it, for the reason presented in this issue: check scripts usually do curl to figure out if their servers are healthy.
Other than that, it's a great image, where one can mount inside config and check scripts, without providing huge amounts of params.
(We have templates for config, so no need for passing too many params).
Should you agree with it, here is the PR: #30
from docker-keepalived.
Thanks for the PR will try no make a release later today :)
from docker-keepalived.
@BertrandGouny ticket can be closed, curl exists inside the container.
from docker-keepalived.
Related Issues (20)
- Reload configuration HOT 2
- malformed unicast peer HOT 6
- Issues running on Ubuntu Server 16.04.6 HOT 2
- arm64 image is not actually arm64; binaries are x86-64 HOT 7
- Future of this project? HOT 4
- Configuration file is not a regular non-executable file HOT 1
- vrrp_script not working with killall in docker
- New config isnt copied on container restart
- Singals are ignored, breaking monitoring systems HOT 1
- Keepalived Blocks Docker's Overlay Network HOT 1
- Not Available on dockerhub now HOT 1
- Keepalived 2.2.7 HOT 5
- 执行脚本问题 HOT 2
- keepalived inside the docker don't expose outside port when the network mode is host
- The keepalived vip address cannot be transferred to other nodes
- Can IPv6 be supported HOT 1
- Can keepalived control the appending order of IPv6 protocol stack IPs?
- Do you have a version that supports arrch64 architecture? HOT 1
- Is this replaced by shawly/docker-keepalived? HOT 2
- How to close the keepalived process without causing the container to close
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-keepalived.