Skip to content

Commit

Permalink
docker: add docker container logs example (tldr-pages#1680)
Browse files Browse the repository at this point in the history
  • Loading branch information
shihyuho authored and sbrl committed Nov 27, 2017
1 parent ed48721 commit 191666c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/common/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@
- Remove a stopped container:

`docker container rm {{container}}`

- Fetch and follow the logs of a container:

`docker container logs -f {{container}}`

0 comments on commit 191666c

Please sign in to comment.