From 4cce4ce1a1d912b91f9b7bd936472d24fa66a9d6 Mon Sep 17 00:00:00 2001 From: Elisey Zanko Date: Thu, 13 Oct 2016 07:39:51 +0500 Subject: [PATCH] Update note on exposing ports --- zookeeper/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zookeeper/content.md b/zookeeper/content.md index 1ab2a2150..a8005efcf 100644 --- a/zookeeper/content.md +++ b/zookeeper/content.md @@ -12,7 +12,7 @@ Apache ZooKeeper is a software project of the Apache Software Foundation, provid $ docker run --name some-zookeeper --restart always -d zookeeper -This image includes `EXPOSE 2181` (the zookeeper port), so standard container linking will make it automatically available to the linked containers. Since the Zookeeper "fails fast" it's better to always restart it. +This image includes `EXPOSE 2181 2888 3888` (the zookeeper client port, follower port, election port respectively), so standard container linking will make it automatically available to the linked containers. Since the Zookeeper "fails fast" it's better to always restart it. ## Connect to Zookeeper from an application in another Docker container