Zookeeper UI which connects automatically to
The login credentials are
zkui is by default disable and waits for a
zookeeper service to pop up in consul.
Maybe a more common usecase is to spin the container up (independent from consul) to just look into
an zookeeper cluster in your infrastructure.
To do so, just fire up:
$ docker run -d --name zkui -p 9090:9090 -e ZKUI_ZK_SERVER=<external_DNS/IP>:2181[,<external_DNS/IP>:2181] qnib/zkui
The credentials are
admin/adminfor read/write access, to change the password provide
user/userfor read-only access, to change the password provide
Security considerations: As the password is part of the inspectable (
docker inspect) container it is not really a super secure way. If someone has access as admin he can delete stuff... So handle with care... :)
This will spin 'em up and point the config to the provided ZK cluster.
To run the stack in a consul environment just spawn the compose file.
$ docker-compose up -d Creating consul Creating zookeeper Creating zkui $
After a bit all services should be green within Consul
After the services are up'n'running just head over to the WebUI
<docker-host>:9090. The login is
agree with @mrperson the same problem - latest version doesn't work
this version doesnt work. since all images are tagged as latest, you cant specify an older version very easy.
docker pull qnib/zkui@sha256:10ad5ac96d1b61fb7bab38788ea2af347172fadefbbdca35b8e99719121d99af
docker tag qnib/zkui@sha256:10ad5ac96d1b61fb7bab38788ea2af347172fadefbbdca35b8e99719121d99af zkui:2016
docker run -d -p 9090:9090 -e ZKUI_ZK_SERVER=<ip_address>:2181 zkui:2016