Starting the Zookeeper Docker container with default configurations
Learn how to start the Zookeeper Docker containers.
To start the Zookeeper container with default configurations, run the following command.
docker run -it -e LICENSE=accept zookeeper
Default host name
When you start by using the default configurations, the Zookeeper Docker container host name is zookeeper.
Mandatory parameters for Zookeeper
Parameter name | Description |
---|---|
ALLOW_ANONYMOUS_LOGIN | Sample value is "yes" |
Code example
docker run -it -e LICENSE=accept \
-e ALLOW_ANONYMOUS_LOGIN =<Allow anonymous yes or no>
<Zookeeper Docker image>