dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

docker image does not perform a proper health checking with custom ports

Open romange opened this issue 1 year ago • 1 comments

when running docker run docker.dragonflydb.io/dragonflydb/dragonfly --port=8888 for example, our healthcheck.sh fails because it's hardcoded to check :6379 port locally.

To fix it - we should add netstat to our docker image in tools/packaging/Dockerfile.*" files and then find the listening port in tools/docker/healthcheck.sh`

romange avatar Feb 23 '24 06:02 romange

Hi @romange , Pls check this PR https://github.com/dragonflydb/dragonfly/pull/2659

I have made changes.

manojks1999 avatar Feb 25 '24 19:02 manojks1999