The configuration and cleanup of the /etc/exports file should be improved. Using the technique of Vagrant could be a good approach: ``` # VAGRANT-BEGIN: 21171 5b8f0135-9e73-4166-9bfd-ac43d5f14261 "/path/to/vagrantfile" 172.28.128.5(rw,no_subtree_check,all_squash,async,anonuid=21171,anongid=660,fsid=3382034405) # VAGRANT-END: 21171 5b8f0135-9e73-4166-9bfd-ac43d5f14261 ``` We should probably use the docker-machine name and would be something like: ``` # DOCKER-MACHINE-NFS-BEGIN: machine-box /Users 192.168.99.100 -alldirs -mapall=501:20 # DOCKER-MACHINE-NFS-END: machine-box ``` Things to keep in mind: - What when ip changes? (docker-machine does not provide fixed ip at this moment of writing) - ... ?
The configuration and cleanup of the /etc/exports file should be improved. Using the technique of Vagrant could be a good approach:
We should probably use the docker-machine name and would be something like:
Things to keep in mind: