Skip to content

Instantly share code, notes, and snippets.

@chriswales95
Last active March 1, 2019 18:42
Show Gist options
  • Save chriswales95/c45018b709292b2a87773c735eccaa5b to your computer and use it in GitHub Desktop.
Save chriswales95/c45018b709292b2a87773c735eccaa5b to your computer and use it in GitHub Desktop.
run command for Docker
docker-compose build # rebuilds packages
docker run -i --rm --network set08103-assessment_default set08103-assessment_app # runs just the app in an interactive shell using the default network
docker ps # lists the docker processes
docker exec -it <process id> bash # opens the shell of the docker container. useful for the database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment