We have a docker-compose based application and running in two servers and can access with server-ip:port.

To integrate Keepalived floating IP for this service, I tried adding docker service running interface to keepalivd.conf. Interface was take as described here

docker exec -it my-container cat /sys/class/net/eth0/iflink
ip ad | grep 123

But keepalived service was not restarting

(keepalived1): Cannot find an IP address to use for interface vethfb0585d

How can I add this docker service to a keepalived IP address??

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.