summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-21 07:15:55 -0700
committerGitHub <noreply@github.com>2019-03-21 07:15:55 -0700
commiteeda995e78d5ee96b2a65cc1fd8f04d1eb627a19 (patch)
tree1871dd10ad66e2699385f2296029409131c4478e
parentb83d05722f0233e7b0929602da1b4ebf3fc47dce (diff)
parent6c812c34725edd4f3e66c0cd0ba3216606e45417 (diff)
downloadpodman-eeda995e78d5ee96b2a65cc1fd8f04d1eb627a19.tar.gz
podman-eeda995e78d5ee96b2a65cc1fd8f04d1eb627a19.tar.bz2
podman-eeda995e78d5ee96b2a65cc1fd8f04d1eb627a19.zip
Merge pull request #2719 from rhatdan/man
Fix man page to mention race condition
-rw-r--r--docs/podman-logs.1.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/podman-logs.1.md b/docs/podman-logs.1.md
index 8cd6ad5e7..ce5d890ce 100644
--- a/docs/podman-logs.1.md
+++ b/docs/podman-logs.1.md
@@ -1,9 +1,11 @@
-% podman-logs(1)
+% podman-container-logs(1)
## NAME
-podman\-logs - Fetch the logs of one or more containers
+podman\-container\-logs (podman\-logs) - Fetch the logs of one or more containers
## SYNOPSIS
+**podman** **container** **logs** [*options*] *container* [*container...*]
+
**podman** **logs** [*options*] *container* [*container...*]
## DESCRIPTION
@@ -15,7 +17,11 @@ any logs at the time you execute podman logs
**--follow, -f**
-Follow log output. Default is false
+Follow log output. Default is false.
+
+Note: If you are following a container which is removed `podman container rm`
+or removed on exit `podman run --rm ...`, then there is a chance the the log
+file will be removed before `podman logs` reads the final content.
**--latest, -l**
@@ -86,7 +92,7 @@ podman logs --since 10m myserver
```
## SEE ALSO
-podman(1)
+podman(1), podman-run(1), podman-container-rm(1)
## HISTORY
February 2018, Updated by Brent Baude <bbaude@redhat.com>