From 70efcb00b405fdac4443f86e3b05721c54fc1f21 Mon Sep 17 00:00:00 2001 From: Pavel Pospisil Date: Wed, 2 Dec 2015 18:54:52 +0100 Subject: [PATCH] Improvement of docker top Man Page Some users expect that the `docker top $CONT` command displays information from the inside container perspective. They expect that the `docker top $CONT` command displays same information as the `docker exec $CONT ps -ef` command. But it does not. That's why the `docker top` man page shall explicitly state that the `docker top $CONT` displays information from the host's point of view. Signed-off-by: Pavel Pospisil --- man/docker-top.1.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man/docker-top.1.md b/man/docker-top.1.md index 9828d98b..a666f7cd 100644 --- a/man/docker-top.1.md +++ b/man/docker-top.1.md @@ -11,8 +11,9 @@ CONTAINER [ps OPTIONS] # DESCRIPTION -Display the running process of the container. ps-OPTION can be any of the - options you would pass to a Linux ps command. +Display the running process of the container. ps-OPTION can be any of the options you would pass to a Linux ps command. + +All displayed information is from host's point of view. # OPTIONS **--help** @@ -32,3 +33,4 @@ April 2014, Originally compiled by William Henry (whenry at redhat dot com) based on docker.com source material and internal work. June 2014, updated by Sven Dowideit June 2015, updated by Ma Shimiao +December 2015, updated by Pavel Pospisil