docker-compose --verbose config
docker-compose build
docker-compose build --force-rm --no-cache
docker-compose up -d
docker-compose down
docker-compose start
docker-compose stop
docker-compose run web env
docker-compose logs -f
- -e : to indicate the declaration of Environnemnt variable inside the container
- -d : run the container in background
- -p : bind container port to host port
- –name : to name the container generated
- –link : link 2 containers together.
- command : optionnally we can add a command to be executed.