computer_science:docker:docker_cheatsheet

This is an old revision of the document!


docker & docker-compose - Cheatsheet

Usefull commands for docker and docker-compose

CommandPurpose
docker-compose up -dStarts the Container and dettach (so you have your bash prompt back)
docker-compose downStops the Container
docker-compose psChecks the status of the Container
docker-exec -ti <container-name> /bin/bashOpens a Shell Prompt inside a Container (so you can troubleshoot)
  • computer_science/docker/docker_cheatsheet.1596199532.txt.gz
  • Last modified: 2023/12/01 12:07
  • (external edit)