This is an old revision of the document!
docker & docker-compose - Cheatsheet
Usefull commands for docker and docker-compose
Command | Purpose |
---|---|
docker-compose up -d | Starts the Container and dettach (so you have your bash prompt back) |
docker-compose down | Stops the Container |
docker-compose ps | Checks the status of the Container |
docker-exec -ti <container-name> /bin/bash | Opens a Shell Prompt inside a Container (so you can troubleshoot) |