From 60f7a02d072884f03780c4c6becfa452a79a5220 Mon Sep 17 00:00:00 2001 From: Charles Merriam Date: Wed, 12 Feb 2014 18:13:46 -0800 Subject: [PATCH] Minor error in example code (resubmit #4109) Docker-DCO-1.1-Signed-off-by: Charles Merriam (github: merriam) Upstream-commit: ba650e05177bcc2597606b998a104a29698d5064 Component: engine --- components/engine/docs/sources/use/working_with_volumes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/docs/sources/use/working_with_volumes.rst b/components/engine/docs/sources/use/working_with_volumes.rst index 34728cbd3d..d0fc5efef8 100644 --- a/components/engine/docs/sources/use/working_with_volumes.rst +++ b/components/engine/docs/sources/use/working_with_volumes.rst @@ -101,7 +101,7 @@ might not work on any other machine. For example:: - sudo docker run -v /var/logs:/var/host_logs:ro ubuntu bash + sudo docker run -t -i -v /var/logs:/var/host_logs:ro ubuntu bash The command above mounts the host directory ``/var/logs`` into the container with read only permissions as ``/var/host_logs``.