Friday, 24 November 2017

How to run Multiple container using docker compose

If you have not cloned or downloaded the git repo, please run the command below.


  1. Stop all containers:

docker stop $(docker ps -a -q)

  1. Navigate to the folder where you have downloaded/cloned the sample.



  1. Create a file named as “docker-compose.yml”.

  1. Add content as shown below.

  1. Run below command to build docker compose

docker-compose up -d --build --remove-orphans

  1. Run below command to run docker compose.

docker-compose up

In case if you get access denied error please share the drive you have your dockerfiles running.

  1. For windows 10: Navigate to http://localhost:9001



  1. For windows 7,8: Navigate to http://192.168.99.100:9001/



  1. For windows 10: Navigate to http://localhost:8080


  1. For windows 7,8: Navigate to http://192.168.99.100:8080/










No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Build Bot using LUIS