mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 22:26:00 +02:00
docker: add docker container logs example (#1680)
This commit is contained in:
parent
ed48721a66
commit
191666c794
1 changed files with 4 additions and 0 deletions
|
@ -29,3 +29,7 @@
|
||||||
- Remove a stopped container:
|
- Remove a stopped container:
|
||||||
|
|
||||||
`docker container rm {{container}}`
|
`docker container rm {{container}}`
|
||||||
|
|
||||||
|
- Fetch and follow the logs of a container:
|
||||||
|
|
||||||
|
`docker container logs -f {{container}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue