Skip to content

Commit

Permalink
Add command and instructions to view logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
robrap authored and clintonb committed Apr 26, 2017
1 parent 08d7e48 commit 0911702
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ down: ## Remove all service containers and networks
destroy: ## Remove all devstack-related containers, networks, and volumes
./destroy.sh

logs: ## View logs from containers running in detached mode
docker-compose logs -f

pull: ## Update Docker images
docker-compose pull

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ Catalog/Course Discovery Service, you can run:
make discovery-shell
```
To see logs from containers running in detached mode, you can either use
"Kitematic" (available from the "Docker for Mac" menu), or by running the
following:
```sh
make logs
```
To reset your environment and start provisioning from scratch, you can run:
```sh
Expand Down

0 comments on commit 0911702

Please sign in to comment.