zookeeper-docker icon indicating copy to clipboard operation
zookeeper-docker copied to clipboard

Why do you start sshd inside zookeeper container? It is a serious security issue.

Open paranoid945 opened this issue 6 years ago • 2 comments

CMD /usr/sbin/sshd && bash /usr/bin/start-zk.sh

paranoid945 avatar Apr 04 '18 06:04 paranoid945

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"]

stigok avatar Jun 05 '18 13:06 stigok

Yeeeahhh, super shady. His base image sets up sshd with password-less login on each of his images

timstableford avatar May 14 '19 15:05 timstableford