Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Can't mount a shared volume #62

Closed
Closed

Description

@schickling

If I try to run a command in a docker container with a shared volume I get the following error:

2014/01/08 20:10:22 Error: start: Invalid bind mount '/Users/johannes/Desktop/test:/var/www' : source doesn't exist

I'm using the new OSX binary (0.7.3). Please give me some feedback if this is related to the osx binary or this project.

Activity

  1. crosbymichael commented on Jan 8, 2014

    @crosbymichael
    Contributor

    Because your mounting a volume on the docker host, not on your local machine.

  2. schickling commented on Jan 8, 2014

    @schickling
    ContributorAuthor

    Ah I see. I have used docker-osx with Vagrant before (which enabled me to mount a local folder). So I have to share a folder with the VM and mount it from there. Right?

    Is there a more convenient way to accomplish this? Perhaps already baked in?

  3. steeve commented on Jan 8, 2014

    @steeve
    Contributor

    I guess we're going to need to add the vbox additions to the iso. Oh well.

  4. schickling commented on Jan 9, 2014

    @schickling
    ContributorAuthor

    👍

  5. schickling commented on Feb 5, 2014

    @schickling
    ContributorAuthor

    Any update @steeve? Are you planing to include the vbox additions or will you merge NFS support?

  6. steeve commented on Feb 5, 2014

    @steeve
    Contributor

    We're going to go with NFS I think (because NFS is already on OSX), and in that regard, @moul's work with a secondary host only interface will prove worthwhile.

  7. schickling commented on Feb 5, 2014

    @schickling
    ContributorAuthor

    Sounds great. I'll close this issue. Please provide a little usage example in the README how to mount a local folder as soon as the feature makes it into the master branch.

    Thanks for all your work! 👍

  8. aheissenberger commented on Feb 5, 2014

    @aheissenberger
    Contributor
  9. gravis commented on Apr 2, 2014

    @gravis

    Any update on this? The issue is closed, but nothing was updated / released.
    Thanks

  10. schickling commented on Apr 2, 2014

    @schickling
    ContributorAuthor

    @gravis I think this issue will be resolved in the boot2docker-cli repo.

  11. steeve commented on Apr 23, 2014

    @steeve
    Contributor

    There is an ISO in #284, see #282 also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions