I'm using docker provisioner on Mac Os X 10.9.5 (Vagrant 1.6.3 - 1.6.5). I 
setup a shared folder for this VM. 

here is Vagrant file:

===
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.define "ship-container", primary: true do |v|
    v.vm.provider "docker" do |d|
      d.image = "anaderi/ocean:latest"
      d.volumes = ["/vagrant:/opt/ship"]
      d.vagrant_vagrantfile = "./Vagrantfile"
      d.vagrant_machine = "proxy"
      d.remains_running = false
    end
  end

  config.vm.define "proxy", autostart: false do |proxy|
    proxy.vm.box = "yungsang/boot2docker"
    proxy.vm.provision "docker"
    proxy.vm.network "private_network", ip: "192.168.33.10"
    proxy.vm.synced_folder ".", "/vagrant", type: "nfs"
    proxy.vm.network :forwarded_port, guest: 5900, host: 6900
    proxy.vm.provision "shell", inline:
"sudo ntpclient -s -h time.nist.gov"
    config.vm.provider "virtualbox" do |vb|
      vb.memory = 1024
      vb.cpus = 1
    end
  end
end
===

after some period of inactivity (computer is not falling asleep) I get 
error messages like that:

2014/10/14 18:59:25 Error response from daemon: Cannot start container 
d804573e78d088f43ce222f9239b488240069307b58ee57c5b513f60f1358f4d: lstat 
/vagrant: stale NFS file handle

If I connect to proxy VM, I cannot mount /vagrant via NFS again 
(192.168.33.1), and I've tried TCP protocol instead of UDP.
are there any ideas what can be done?
Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to