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:
committed by
Steve Perry
parent
90650aca2e
commit
2b2fb7d84b
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user