Replace 31z4/zookeeper with zookeeper

This commit is contained in:
Elisey Zanko 2016-09-10 10:29:54 +05:00
parent f906e95d1c
commit aa907bca8d
No known key found for this signature in database
GPG Key ID: 08BBC369B144F2DF
3 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ Apache ZooKeeper is a software project of the Apache Software Foundation, provid
## Start a Zookeeper server instance
$ docker run --name some-zookeeper --restart always -d 31z4/zookeeper
$ 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.
@ -20,7 +20,7 @@ This image includes `EXPOSE 2181` (the zookeeper port), so standard container li
## Connect to Zookeeper from the Zookeeper command line client
$ docker run -it --rm --link some-zookeeper:zookeeper 31z4/zookeeper zkCli.sh -server zookeeper
$ docker run -it --rm --link some-zookeeper:zookeeper zookeeper zkCli.sh -server zookeeper
## %%COMPOSE%%
@ -34,7 +34,7 @@ Consider using [Docker Swarm](https://www.docker.com/products/docker-swarm) when
Zookeeper configuration is located in `/conf`. One way to change it is mounting your config file as a volume:
$ docker run --name some-zookeeper --restart always -d -v $(pwd)/zoo.cfg:/conf/zoo.cfg 31z4/zookeeper
$ docker run --name some-zookeeper --restart always -d -v $(pwd)/zoo.cfg:/conf/zoo.cfg zookeeper
## Environment variables

View File

@ -1,7 +1,7 @@
version: '2'
services:
zoo1:
image: 31z4/zookeeper
image: zookeeper
restart: always
ports:
- 2181
@ -10,7 +10,7 @@ services:
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
zoo2:
image: 31z4/zookeeper
image: zookeeper
restart: always
ports:
- 2181
@ -19,7 +19,7 @@ services:
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
zoo3:
image: 31z4/zookeeper
image: zookeeper
restart: always
ports:
- 2181

View File

@ -1 +1 @@
View [license information](https://github.com/apache/zookeeper/blob/release-3.4.8/LICENSE.txt) for the software contained in this image.
View [license information](https://github.com/apache/zookeeper/blob/release-3.4.9/LICENSE.txt) for the software contained in this image.