From 6e48f91bde3cb76d688bbc9b9ecaaf820904c7c4 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Mon, 20 Oct 2014 22:17:30 +0200 Subject: [PATCH] Update doc for 1.3 bootdocker Change-Id: Ib5bb960de9dc76b2a87b3bed916da77519453e22 --- README.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index c4e9b1c..9a956d7 100644 --- a/README.rst +++ b/README.rst @@ -114,16 +114,15 @@ there is a tool called `boot2docker `_ which allows you to run a remote docker server in a VirtualBox VM and the client running on the non Linux desktop. -There is no support for mounted volumes by default with `boot2docker` which is needed by `dox`. -To get this feature you will need to follow these steps documented here : +Volume support started to be supported by `boot2docker` since docker version +1.3. You will need to be at least on that version to have volume mount support. -https://medium.com/boot2docker-lightweight-linux-for-docker/boot2docker-together-with-virtualbox-guest-additions-da1e3ab2465c - -When running dox you will need to specify the docker username from the boot2docker vm, commonly like this:: +If you username id is different from the docker username on the `boot2docker` vm, +you will need to specify it on the command line, like this:: dox --user-map=docker:1000:10 -If you use VirtualBox guest additions to mount your osx onto the boot2docker vm, +If you use VirtualBox guest additions to mount your osx onto the `boot2docker` vm, example /Users/your_name/openstack/oslo-incubator as /home/your_name/openstack/oslo-incubator, then you can add the following mapping::