Here are some Docker Composes that you can use to run your containers for testing, studying, or whatever you prefer.
What you need to do to run:
- install docker
- install docker-compose
How to run:
- Clone this project
git clone https://github.com/BEp0/docker-composes.git
- Open the folder where you cloned the project
- Example:
cd ~/documents/docker-composes
- Example:
- In this folder, you can choose the directory in which you want to run the docker-compose
- Example:
cd mongo/
- Example:
- After you can run
docker-compose up
to run anddocker-compose down
to stop and discard your container- if you want stop and run again, you can use
docker-compose stop
- for more informations here
- if you want stop and run again, you can use
What Docker Composes do we have available here?