From dca1c0073f42b0d75e914119eae863d6e6087cd6 Mon Sep 17 00:00:00 2001 From: Mateusz Sulima Date: Sat, 3 May 2014 12:22:33 +0200 Subject: [PATCH] hello_world.md - $container_id variable case sensitivity If you run the tutorial step-by-step, following error occurs: ```$ sudo docker logs $container_id Usage: docker logs CONTAINER Fetch the logs of a container -f, --follow=false: Follow log output``` This is obviously because bash variables are case-sensitive, so it mustn't be `CONTAINER_ID` above. Docker-DCO-1.1-Signed-off-by: Mateusz Sulima (github: github_handle) --- docs/sources/examples/hello_world.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/examples/hello_world.md b/docs/sources/examples/hello_world.md index 48f4a43102..177857816c 100644 --- a/docs/sources/examples/hello_world.md +++ b/docs/sources/examples/hello_world.md @@ -80,7 +80,7 @@ continue to do this until we stop it. **Steps:** - $ CONTAINER_ID=$(sudo docker run -d ubuntu /bin/sh -c "while true; do echo hello world; sleep 1; done") + $ container_id=$(sudo docker run -d ubuntu /bin/sh -c "while true; do echo hello world; sleep 1; done") We are going to run a simple hello world daemon in a new container made from the `ubuntu` image.