Last active
March 1, 2019 18:42
-
-
Save chriswales95/c45018b709292b2a87773c735eccaa5b to your computer and use it in GitHub Desktop.
run command for Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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