Skip to content
Permalink
Browse files

Add example of how to show logs in docker containers

  • Loading branch information...
gene1wood committed Jul 10, 2019
1 parent 693d7ea commit bfc854d5ac5e68472e5efa9d62974cc45c0ec26f
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/source/cloud_deployment.rst
@@ -104,7 +104,10 @@ To view logs on the ec2 instance
4. Tail logs from the container you'd like to examine with
::

# show both the access logs and the error logs
sudo docker logs --follow NAME_OF_CONTAINER
# show only the error logs
docker logs --follow NAME_OF_CONTAINER >/dev/null

where ``NAME_OF_CONTAINER`` is the container name or ID that you found in the
step above

0 comments on commit bfc854d

Please sign in to comment.
You can’t perform that action at this time.