zookeeper-docker
zookeeper-docker copied to clipboard
Why do you start sshd inside zookeeper container? It is a serious security issue.
CMD /usr/sbin/sshd && bash /usr/bin/start-zk.sh
I think this is for docker swarm, however, I'm not really sure. Specify a custom command when running the image instead, to avoid starting sshd. Or, even better, build your own image.
command: ["bash", "/usr/bin/start-zk.sh"]
Yeeeahhh, super shady. His base image sets up sshd with password-less login on each of his images