From 529ee848da1f1dd4b628c3396289b4bcffdbd540 Mon Sep 17 00:00:00 2001 From: Laurie Voss Date: Sun, 11 Aug 2013 17:27:47 -0700 Subject: [PATCH] Adding a reference to ps -a It was confusing to me as a first-time user that my docker attach command failed; I was expecting the container to run continuously, and when I couldn't attach to it, I assumed something was wrong. ps -a shows that the container still exists, which gives the user confidence to go to the next step. --- docs/sources/examples/python_web_app.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/sources/examples/python_web_app.rst b/docs/sources/examples/python_web_app.rst index ed4a490c72..dae46d66d8 100644 --- a/docs/sources/examples/python_web_app.rst +++ b/docs/sources/examples/python_web_app.rst @@ -36,7 +36,13 @@ Inside of the "shykes/pybuilder" image there is a command called buildapp, we ar docker attach $BUILD_JOB [...] -We attach to the new container to see what is going on. Ctrl-C to disconnect +While this container is running, we can attach to the new container to see what is going on. Ctrl-C to disconnect. + +.. code-block:: bash + + docker ps -a + +List all docker containers. If this container has already finished running, it will still be listed here. .. code-block:: bash