Code Monkey home page Code Monkey logo

boot2docker-automounter's Introduction

boot2docker-automounter

A docker container that automounts Virtualbox shared folders on the boot2docker host.

Linux guests on VirtualBox automatically mount the shared folders by using the VBoxService from the guest additions. Unfortunately boot2docker is unable to run the VBoxService, so it just tries to automatically mount C:\Users folder, others need to be mounted manually. The boot2docker-automounter fixes that drawback and mounts all shared folders automatically.

In order to use the boot2docker-automounter, run inside the boot2docker machine:

docker run -d --restart=always --privileged -v /proc:/hproc --name automounter jrotter/boot2docker-automounter

Note: Running the command from Windows host is likely to fail. You have to get inside the boot2docker machine by running boot2docker ssh or docker-machine ssh

How does it work?

The boot2docker-automounter runs a VBoxService to obtain the names of shares. The mounts are then performed by jumping into the boot2docker host mount namespace with nsenter and running the required mount command.

boot2docker-automounter's People

Contributors

janrotter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

boot2docker-automounter's Issues

Mount only once

ensure that already mounted resources aren't mounted again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.