Giter Site home page Giter Site logo

Comments (5)

tricon avatar tricon commented on September 23, 2024

πŸ‘

from boot2docker-vagrant-box.

sebnash avatar sebnash commented on September 23, 2024

πŸ‘

I think this has something to do with vagrantfile.tpl:

# Disable synced folders because guest additions aren't available
config.vm.synced_folder ".", "/vagrant", disabled: true

As I understand it (but I’m new to this!), the guest additions are required for all synced folder types. It’s not clear to me whether adding them should be requested here, or with @boot2docker (it downloads their image).

from boot2docker-vagrant-box.

jmreicha avatar jmreicha commented on September 23, 2024

πŸ‘

Same issue. FWIW I was able to get NFS synced folders working with this fork - https://vagrantcloud.com/yungsang/boxes/boot2docker

from boot2docker-vagrant-box.

jmreicha avatar jmreicha commented on September 23, 2024

I have a little bit more info to add if it helps. After the mount fails it hangs because it keeps sending SSH keep alives.

...
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
...

Here is what Vagrant is presumably choking on.

DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: mkdir -p /vagrant (sudo=true)
DEBUG ssh: Exit status: 0
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: mount -o 'vers=3,udp' 192.168.33.1:'/Users/jmreicha/about.me/main' /vagrant (sudo=true)
DEBUG ssh: stderr: mount: RPC: Unable to receive; errno = Connection refused
mount: mounting 192.168.33.1:/Users/jmreicha/about.me/main on /vagrant failed: Bad file descriptor

DEBUG ssh: Exit status: 110
 INFO retryable: Retryable exception raised: #<Vagrant::Errors::LinuxNFSMountFailed: The following     SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o 'vers=3,udp' 192.168.33.1:'/Users/jmreicha/about.me/main' /vagrant

Stdout from the command:

from boot2docker-vagrant-box.

Freyskeyd avatar Freyskeyd commented on September 23, 2024

Hey,

if you take a look at:

dduportal/boot2docker-vagrant-box and this PR: boot2docker-vagrant-box#5.

You need to start nfs-client before mounting any folder.

from boot2docker-vagrant-box.

Related Issues (20)

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.