소스 검색

Update note on exposing ports

Elisey Zanko 9 년 전
부모
커밋
4cce4ce1a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zookeeper/content.md

+ 1 - 1
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