From 630ae43e7d11fa34421a253c765edb6cef5a3371 Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Mon, 9 Sep 2013 10:19:45 -0400 Subject: [PATCH 1/2] improve sentence readabilty --- docs/sources/examples/hello_world_daemon.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/examples/hello_world_daemon.rst b/docs/sources/examples/hello_world_daemon.rst index 1d9c4ebe7c..d208c774d8 100644 --- a/docs/sources/examples/hello_world_daemon.rst +++ b/docs/sources/examples/hello_world_daemon.rst @@ -11,8 +11,8 @@ Hello World Daemon The most boring daemon ever written. -This example assumes you have Docker installed and with the Ubuntu -image already imported ``docker pull ubuntu``. We will use the Ubuntu +This example assumes you have Docker installed and the Ubuntu +image already imported with ``docker pull ubuntu``. We will use the Ubuntu image to run a simple hello world daemon that will just print hello world to standard out every second. It will continue to do this until we stop it. From 9749d94fb0f3034247dbd969f6dad390f2605e1a Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Mon, 9 Sep 2013 10:30:06 -0400 Subject: [PATCH 2/2] note about exiting from attachment prior to running --- docs/sources/examples/hello_world_daemon.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sources/examples/hello_world_daemon.rst b/docs/sources/examples/hello_world_daemon.rst index d208c774d8..6fc4e94ebd 100644 --- a/docs/sources/examples/hello_world_daemon.rst +++ b/docs/sources/examples/hello_world_daemon.rst @@ -56,6 +56,8 @@ Attach to the container to see the results in realtime. process to see what is going on. - **$CONTAINER_ID** The Id of the container we want to attach too. +Exit from the container attachment by pressing Control-C. + .. code-block:: bash sudo docker ps