From 09117025aa661693686e3c3a338edd9617ef2986 Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Tue, 25 Apr 2017 09:09:08 -0400 Subject: [PATCH] Add command and instructions to view logs. --- Makefile | 3 +++ README.md | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/Makefile b/Makefile index f27c380e46..8ea2f88d0b 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index d493e72532..0b1d62feab 100644 --- a/README.md +++ b/README.md @@ -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