Answer the question
In order to leave comments, you need to log in
Vagrant parallels/boot2docker nfs how to properly set up on Mac OSX?
Good afternoon.
How to properly configure vagrant parallels/boot2docker nfs file sharing?
I'm running on a MacBook Pro 2017
Doesn't work through NFS
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "parallels/boot2docker"
config.vm.provider "parallels" do |vb|
vb.memory = 4096
vb.cpus = 2
end
config.vm.network "private_network", ip: "192.168.55.10"
config.vm.network "forwarded_port", guest: 8888, host: 8888, host_ip: "127.0.0.1 "
config.vm.network "forwarded_port", guest: 3307, host: 3307, host_ip: "127.0.0.1"
config.vm.synced_folder ".", "/var/www/app", id: "base", nfs : true
config.vm.provision "docker"
config.vm.provision"
config.vm.provision "shell", inline: "cd /var/www/app && docker-compose build && docker-compose up -d"
end
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "parallels/boot2docker"
config.vm.provider "parallels" do |vb|
vb.memory = 4096
vb.cpus = 2
end
config.vm.network "private_network", ip: "192.168.55.10"
config.vm.network "forwarded_port", guest: 8888, host: 8888, host_ip: "127.0.0.1 "
config.vm.network "forwarded_port", guest: 3307, host: 3307, host_ip: "127.0.0.1"
config.vm.synced_folder "./", "/var/www/app", type: "rsync", id: "base", owner: "docker", group: "docker", rsync__args: ["--verbose",
config.vm.provision "docker_compose"
config.vm.provision "shell", inline: "cd /var/www/app && docker-compose build && docker-compose up -d"
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question