Configure NFS with boot2docker and OS X
Problem
When boot2docker is used with default vboxfs to mount shared folder /Users
, it causes permission issues. For example, services do not have right to write to folders shared from host (OS X) to boot2docker.
1. Solution
This problem can be solved using NFS to share from host (OS X) to boot2docker.
2. OS X configuration
3. Restart NFS server daemon
If you don’t want to use IP range for boot2docker and want to set a fix IP address which will be assigned to boot2docker every time, run
boot2docker config > $HOME/.boot2docker/profile
and changeLowerIP
andUpperIP
to same IP e.g192.168.59.103
in$HOME/.boot2docker/profile