From 7b1f34d6269b7076dda86e0288b906f553f19bd1 Mon Sep 17 00:00:00 2001 From: "hyeongkyu.lee" Date: Thu, 19 Jun 2014 18:45:31 +0900 Subject: [PATCH] Update dockerlinks.md Docker-DCO-1.1-Signed-off-by: Hyeongkyu Lee (github: leeplay) --- docs/sources/userguide/dockerlinks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/userguide/dockerlinks.md b/docs/sources/userguide/dockerlinks.md index c995e1709a..833f4aed98 100644 --- a/docs/sources/userguide/dockerlinks.md +++ b/docs/sources/userguide/dockerlinks.md @@ -173,7 +173,7 @@ child container in two ways: Let's look first at the environment variables Docker sets. Let's run the `env` command to list the container's environment variables. - $docker run --rm --link --name web2 db:db training/webapp env + $ sudo docker run --rm --name web2 --link db:db training/webapp env . . . DB_NAME=/web2/db DB_PORT=tcp://172.17.0.5:5432