Druid on Docker issues

Hi Team,

I am trying to deploy Apache-Druid on Docker.

Docker image is build successfully. Docker-stack looks good.

When services are deployed all Druid services co-ordinator, broker, middle matter are failing to connect to zookeeper at 2181.

Not sure why these components are looking for localhost:2181 , while docker-stack has zookeeper host name as “zookeeper”?

Any pointers would be of great help.

Thanks and Regards,

Shubhada

Hi Team,

Please help me to point to correct docker file and docker compose for latest version of Druid on Docker.

Thanks and Regards,

Shubhada

Hi,

You can find the druid dockerfiles in the below repo

https://github.com/apache/druid/tree/master/distribution/docker

And from dockerhub here

https://hub.docker.com/r/apache/incubator-druid

Regards,

Muthu Lalapet.

hi Muthu,

I m able to launch druid locally , but when I push the same to remote docker and deploy. druid co-ordinator says not able to connect to zookeeper at localhost:2181. anything I am missing?

Oh okay. Are you using docker compose? Druid provides a sample for the same it works great. Please take a look at the below link

https://github.com/apache/druid/blob/master/docs/tutorials/docker.md