From 33be2c5d2ed15a2f9bb272ac9492ad36113ddb32 Mon Sep 17 00:00:00 2001 From: mlarcher Date: Sun, 28 Jun 2015 20:30:42 +0200 Subject: [PATCH] Add workaround in docs for git bash usage issue When using boot2docker through git bash, there is a nasty issue when trying to share a folder, due to how git bash parses the URIs. The issue is explained in [issue #12751](https://github.com/docker/docker/issues/12751) but needs more visibility in the docs. Signed-off-by: Matthieu Larcher --- docs/userguide/dockervolumes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/userguide/dockervolumes.md b/docs/userguide/dockervolumes.md index e3529fb33c..ab72966235 100644 --- a/docs/userguide/dockervolumes.md +++ b/docs/userguide/dockervolumes.md @@ -102,6 +102,10 @@ This will mount the host directory, `/src/webapp`, into the container at > If the path `/opt/webapp` already exists inside the container's image, its > contents will be replaced by the contents of `/src/webapp` on the host to stay > consistent with the expected behavior of `mount` +> +> When using Boot2Docker on Windows through git bash, there might be an issue with the +> way the source directory name is parsed. You can fix it by using a double slash at +> the beginning of the source directory name as explained in [issue #12751](https://github.com/docker/docker/issues/12751) This is very useful for testing, for example we can mount our source code inside the container and see our application at work as