Browse code

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.

Laurie Voss authored on 2013/08/12 09:27:47
Showing 1 changed files
... ...
@@ -36,7 +36,13 @@ Inside of the "shykes/pybuilder" image there is a command called buildapp, we ar
36 36
     docker attach $BUILD_JOB
37 37
     [...]
38 38
 
39
-We attach to the new container to see what is going on. Ctrl-C to disconnect
39
+While this container is running, we can attach to the new container to see what is going on. Ctrl-C to disconnect.
40
+
41
+.. code-block:: bash
42
+
43
+    docker ps -a
44
+    
45
+List all docker containers. If this container has already finished running, it will still be listed here.
40 46
 
41 47
 .. code-block:: bash
42 48