Skip to content

Instantly share code, notes, and snippets.

@mondaini
Created March 18, 2015 16:57
Show Gist options
  • Save mondaini/56f7c6d1e1324eeff47a to your computer and use it in GitHub Desktop.
Save mondaini/56f7c6d1e1324eeff47a to your computer and use it in GitHub Desktop.
Docker Cheatsheet

builds the containers: docker-compose build

remove the containers: docker-compose rm

'recreate' the containers: docker-compose up

start the containers: docker-compose start

Runs the shell inside the container (in this case the container name is project_python_1): docker exec -it project_python_1 /bin/bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment