From 655766ed955477299fac95a0fcd60af58f2b5be8 Mon Sep 17 00:00:00 2001 From: Kristian Haugene Date: Fri, 4 Dec 2015 15:57:44 +0100 Subject: [PATCH] docs: fix typo in bash_history mount example Signed-off-by: Kristian Haugene --- docs/userguide/dockervolumes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/userguide/dockervolumes.md b/docs/userguide/dockervolumes.md index c07e22ac07..cb450c33be 100644 --- a/docs/userguide/dockervolumes.md +++ b/docs/userguide/dockervolumes.md @@ -176,7 +176,7 @@ Only the current container can use a private volume. The `-v` flag can also be used to mount a single file - instead of *just* directories - from the host machine. - $ docker run --rm -it -v ~/.bash_history:/.bash_history ubuntu /bin/bash + $ docker run --rm -it -v ~/.bash_history:/root/.bash_history ubuntu /bin/bash This will drop you into a bash shell in a new container, you will have your bash history from the host and when you exit the container, the host will have the