瀏覽代碼

removing the exclaimation mark from our hello-world examples, some users get trapped by the shell

Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
SvenDowideit 11 年之前
父節點
當前提交
3091d9a31e
共有 3 個文件被更改,包括 12 次插入12 次删除
  1. 1 1
      docs/sources/userguide/dockerhub.md
  2. 10 10
      docs/sources/userguide/dockerizing.md
  3. 1 1
      docs/sources/userguide/index.md

+ 1 - 1
docs/sources/userguide/dockerhub.md

@@ -65,7 +65,7 @@ Your Docker Hub account is now active and ready for you to use!
 
 ##  Next steps
 
-Next, let's start learning how to Dockerize applications with our "Hello World!"
+Next, let's start learning how to Dockerize applications with our "Hello World"
 exercise.
 
 Go to [Dockerizing Applications](/userguide/dockerizing).

+ 10 - 10
docs/sources/userguide/dockerizing.md

@@ -1,20 +1,20 @@
-page_title: Dockerizing Applications: A "Hello World!"
-page_description: A simple "Hello World!" exercise that introduced you to Docker.
+page_title: Dockerizing Applications: A "Hello World"
+page_description: A simple "Hello World" exercise that introduced you to Docker.
 page_keywords: docker guide, docker, docker platform, virtualization framework, how to, dockerize, dockerizing apps, dockerizing applications, container, containers
 
-# Dockerizing Applications: A "Hello World!"
+# Dockerizing Applications: A "Hello World"
 
 *So what's this Docker thing all about?*
 
 Docker allows you to run applications inside containers. Running an
 application inside a container takes a single command: `docker run`.
 
-## Hello World!
+## Hello World
 
 Let's try it now.
 
     $ sudo docker run ubuntu:14.04 /bin/echo 'Hello World'
-    Hello World!
+    Hello World
 
 And you just launched your first container!
 
@@ -34,17 +34,17 @@ image registry: [Docker Hub](https://hub.docker.com).
 
 Next we told Docker what command to run inside our new container:
 
-    /bin/echo 'Hello World!'
+    /bin/echo 'Hello World'
 
 When our container was launched Docker created a new Ubuntu 14.04
 environment and then executed the `/bin/echo` command inside it. We saw
 the result on the command line:
 
-    Hello World!
+    Hello World
 
 So what happened to our container after that? Well Docker containers
 only run as long as the command you specify is active. Here, as soon as
-`Hello World!` was echoed, the container stopped.
+`Hello World` was echoed, the container stopped.
 
 ## An Interactive Container
 
@@ -88,7 +88,7 @@ use the `exit` command to finish.
 As with our previous container, once the Bash shell process has
 finished, the container is stopped.
 
-## A Daemonized Hello World!
+## A Daemonized Hello World
 
 Now a container that runs a command and then exits has some uses but
 it's not overly helpful. Let's create a container that runs as a daemon,
@@ -99,7 +99,7 @@ Again we can do this with the `docker run` command:
     $ sudo docker run -d ubuntu:14.04 /bin/sh -c "while true; do echo hello world; sleep 1; done"
     1e5535038e285177d5214659a068137486f96ee5c2e85a4ac52dc83f2ebe4147
 
-Wait what? Where's our "Hello World!" Let's look at what we've run here.
+Wait what? Where's our "Hello World" Let's look at what we've run here.
 It should look pretty familiar. We ran `docker run` but this time we
 specified a flag: `-d`. The `-d` flag tells Docker to run the container
 and put it in the background, to daemonize it.

+ 1 - 1
docs/sources/userguide/index.md

@@ -29,7 +29,7 @@ environment. To learn more;
 
 Go to [Using Docker Hub](/userguide/dockerhub).
 
-## Dockerizing Applications: A "Hello World!"
+## Dockerizing Applications: A "Hello World"
 
 *How do I run applications inside containers?*