Lowercase world, because its not important.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
This commit is contained in:
Sven Dowideit 2014-07-01 15:07:05 -07:00
parent 3091d9a31e
commit a09f99b8b0
5 changed files with 19 additions and 19 deletions

View File

@ -24,7 +24,7 @@ describes your app and its dependencies:
"name": "docker-centos-hello",
"private": true,
"version": "0.0.1",
"description": "Node.js Hello World app on CentOS using docker",
"description": "Node.js Hello world app on CentOS using docker",
"author": "Daniel Gasienica <daniel@gasienica.ch>",
"dependencies": {
"express": "3.2.4"
@ -42,7 +42,7 @@ app using the [Express.js](http://expressjs.com/) framework:
// App
var app = express();
app.get('/', function (req, res) {
res.send('Hello World\n');
res.send('Hello world\n');
});
app.listen(PORT);
@ -184,7 +184,7 @@ Now you can call your app using `curl` (install if needed via:
Date: Sun, 02 Jun 2013 03:53:22 GMT
Connection: keep-alive
Hello World
Hello world
We hope this tutorial helped you get up and running with Node.js and
CentOS on Docker. You can get the full source code at

View File

@ -246,7 +246,7 @@ See also:
drwxr-xr-x 2 root root 4.0K Mar 12 2013 tmp
drwxr-xr-x 2 root root 4.0K Nov 15 23:34 usr
---> b35f4035db3f
Step 3 : CMD echo Hello World
Step 3 : CMD echo Hello world
---> Running in 02071fceb21b
---> f52f38b7823e
Successfully built f52f38b7823e
@ -277,7 +277,7 @@ affect the build cache.
Uploading context
Step 0 : FROM busybox
---> 769b9341d937
Step 1 : CMD echo Hello World
Step 1 : CMD echo Hello world
---> Using cache
---> 99cc1ad10469
Successfully built 99cc1ad10469
@ -287,7 +287,7 @@ affect the build cache.
Uploading context
Step 0 : FROM busybox
---> 769b9341d937
Step 1 : CMD echo Hello World
Step 1 : CMD echo Hello world
---> Using cache
---> 99cc1ad10469
Successfully built 99cc1ad10469

View File

@ -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).

View File

@ -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
$ sudo docker run ubuntu:14.04 /bin/echo '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.

View File

@ -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?*