aojea commented on issue #328: Docker image: add a Docker Compose example file URL: https://github.com/apache/bookkeeper/issues/328#issuecomment-348695527 @jiazhai Download the `docker-compose.yml` file from #701 to the `docker` folder. I assume that you have docker and docker-compose installed in your machine. Run the ensemble with multiple clients and bookeepers: `docker-compose up -d --scale bookkeeper=2 --scale dice=3` You can see the output in each container with `docker logs`: ```sh docker logs docker_dice_2 + java -jar /local/bookkeeper-tutorial.jar --zookeeper-servers zookeeper:2181 Zookeeper Server: zookeeper:2181 log4j:WARN No appenders could be found for logger (org.apache.curator.CuratorZookeeperClient). log4j:WARN Please initialize the log4j system properly. Connecting to Zookeeper Server... Connected. Follow Becoming leader ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
