add instructions to install ps utility (#5936)

The doc asks users to use `ps` command inside the nginx container, when
ps is not installed inside the container. So this commit adds that
command to install ps.
This commit is contained in:
Suraj Deshmukh
2017-10-19 22:36:48 +05:30
committed by Steve Perry
parent 90650aca2e
commit 2b2fb7d84b
@@ -88,6 +88,8 @@ Get a shell to nginx Container:
In your shell, verify that nginx is running:
root@two-containers:/# apt-get update
root@two-containers:/# apt-get install curl procps
root@two-containers:/# ps aux
The output is similar to this:
@@ -98,8 +100,6 @@ The output is similar to this:
Recall that the debian Container created the `index.html` file in the nginx root
directory. Use `curl` to send a GET request to the nginx server:
root@two-containers:/# apt-get update
root@two-containers:/# apt-get install curl
root@two-containers:/# curl localhost
The output shows that nginx serves a web page written by the debian container: