Skip to content

Commit

Permalink
docker stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jserrao committed Oct 18, 2019
1 parent 6b21ac2 commit 8fd2fc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

1. `docker-compose build` (builds a docker image, based on a Dockerfile and a docker-compose file - both should be in the root of the project)
2. `docker-compose up -d` (turns on the container you just built)
3. `docker-compose logs -f` (spits out logs when Docker fails - and you better believe Docker will fail on you)
3. `docker-compose logs -f` (spits out logs when Docker fails - and you better believe Docker will fail on you)
4. `docker ps` (take a look at the containers you have running)
5. `docker exec -it <your-container-here> <your-bash-cmd-here>` (lets you run commands against the container)

0 comments on commit 8fd2fc1

Please sign in to comment.