Add docker logs instructions

This commit is contained in:
bastianbowe2000 2019-04-10 14:06:35 +02:00 committed by GitHub
parent fc41560d71
commit 665406da15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -97,6 +97,18 @@ $ docker kill $ID
Manage `container`s using ps/kill. Manage `container`s using ps/kill.
### `docker logs`
```
$ docker logs $ID
$ docker logs $ID 2>&1 | less
$ docker logs -f $ID # Follow log output
```
See what's being logged in an `container`.
Images Images
------ ------