diff --git a/docs/reference/commandline/logs.md b/docs/reference/commandline/logs.md index 76502989e1..b7fb87dc86 100644 --- a/docs/reference/commandline/logs.md +++ b/docs/reference/commandline/logs.md @@ -71,7 +71,7 @@ In order to retrieve logs before a specific point in time, run: $ docker run --name test -d busybox sh -c "while true; do $(echo date); sleep 1; done" $ date Tue 14 Nov 2017 16:40:00 CET -$ docker logs -f --until=2s +$ docker logs -f --until=2s test Tue 14 Nov 2017 16:40:00 CET Tue 14 Nov 2017 16:40:01 CET Tue 14 Nov 2017 16:40:02 CET diff --git a/man/src/container/logs.md b/man/src/container/logs.md index f2b4ad6d2d..662b5d5340 100644 --- a/man/src/container/logs.md +++ b/man/src/container/logs.md @@ -33,7 +33,7 @@ In order to retrieve logs before a specific point in time, run: $ docker run --name test -d busybox sh -c "while true; do $(echo date); sleep 1; done" $ date Tue 14 Nov 2017 16:40:00 CET -$ docker logs -f --until=2s +$ docker logs -f --until=2s test Tue 14 Nov 2017 16:40:00 CET Tue 14 Nov 2017 16:40:01 CET Tue 14 Nov 2017 16:40:02 CET