Skip to content

Commit

Permalink
Merge pull request docker#18434 from haugene/master
Browse files Browse the repository at this point in the history
docs: fix typo in bash_history mount example
  • Loading branch information
thaJeztah committed Dec 4, 2015
2 parents e3fbd69 + 655766e commit 5a9bf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/userguide/dockervolumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a9bf3a

Please sign in to comment.