change to top

Upstream-commit: 11e28842ac74ad0b706d24ec639952f78e9a147c
Component: engine
This commit is contained in:
Victor Vieux
2013-07-01 15:19:42 +00:00
parent 074020ccdd
commit ab729772a8
9 changed files with 23 additions and 23 deletions
@@ -29,7 +29,7 @@ You can still call an old version of the api using /v1.0/images/<name>/insert
What's new
----------
Listing processes (/proc):
Listing processes (/top):
- List the processes inside a container
@@ -223,7 +223,7 @@ Inspect a container
List processes running inside a container
*****************************************
.. http:get:: /containers/(id)/proc
.. http:get:: /containers/(id)/top
List processes running inside the container ``id``
@@ -231,7 +231,7 @@ List processes running inside a container
.. sourcecode:: http
GET /containers/4fa6e0f0c678/proc HTTP/1.1
GET /containers/4fa6e0f0c678/top HTTP/1.1
**Example response**:
@@ -41,7 +41,6 @@ Available Commands
command/login
command/logs
command/port
command/proc
command/ps
command/pull
command/push
@@ -53,5 +52,6 @@ Available Commands
command/start
command/stop
command/tag
command/top
command/version
command/wait
@@ -1,13 +1,13 @@
:title: Proc Command
:title: Top Command
:description: Lookup the running processes of a container
:keywords: proc, docker, container, documentation
:keywords: top, docker, container, documentation
=======================================================
``proc`` -- Lookup the running processes of a container
``top`` -- Lookup the running processes of a container
=======================================================
::
Usage: docker proc CONTAINER
Usage: docker top CONTAINER
Lookup the running processes of a container