Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Add sharing support for linux#344

Closed
pirog wants to merge 1 commit intoboot2docker:masterfrom
kalabox:pirog-sharesonlinux
Closed

Add sharing support for linux#344
pirog wants to merge 1 commit intoboot2docker:masterfrom
kalabox:pirog-sharesonlinux

Conversation

@pirog
Copy link

@pirog pirog commented Feb 12, 2015

We are actually using the boot2docker-cli for the linux version of the Kalabox2 project. Would be great to just add this small piece in to get shares happening via boot2docker up/down instead of with an extra VBoxManage command on the Kalabox side.

We are actually using the boot2docker-cli for the linux version of the Kalabox2 project. Would be great to just add this small piece in to get shares happening via boot2docker up/down instead of with an extra VBoxManage command on the Kalabox side.
@fluxsauce
Copy link

Visually, this looks fine, and this would definitely improve cross-platform support.

@pirog
Copy link
Author

pirog commented Feb 12, 2015

I am not %100 sure if linux is what go returns for the platform detection but wanted to throw this up quick for a read on the desire to do something like this.

if people are into it id be more than happy to compile the b2d binary and give it a test run.

@SvenDowideit
Copy link
Contributor

mmm, I'm not sure this will work.

when you have /home mounted as /Users in the b2d vm, then the user will (reasonably) try to run
docker run -v $pwd:/data busybox sh

and they will not get what they think they should get.

I think the way to get this to work will involve something more like only sharing the user's home dir, and mounting into /home/<user> on the vm.

Note that this may well be functional using the boot2docker version in master today, as we've updated to use a 64 bit userspace - so the vbox tools may work.

see https://github.com/SvenDowideit/boot2docker/releases/tag/x64rc1 for a version of the iso to use to test :) @pirog @fluxsauce @pirog

@pirog
Copy link
Author

pirog commented May 20, 2015

Agree that it is def confusing so if we could mount the specific user directory vs the entire home folder as proposed that would be better.

We are currently doing the

VBoxManage sharedfolder add "Kalabox2"'  --name "Users" --hostpath "/home"'

For the linux flavor of the Kalabox project but we are managing all the docker things so your concern hasn't been an issue. Obviously we should do something that is a superset of our specific use case which is also a +1 for your proposal.

@tianon
Copy link
Contributor

tianon commented Feb 26, 2018

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).

@tianon tianon closed this Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants