This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Description
When we have for example two machines with similar names:
- machine30
- machine30trans
And we want to mount these two machines with docker-machine-nfs there is a problem when:
- firstly we try to mount
machine30trans - OK
- secondly we try to mount
machine30 - FAIL with message:
exports:2: got host/group with no directory?: trans
after running above instructions /etc/exports looks like:
trans
# docker-machine-nfs-begin machine30
/Users 192.168.99.100 -alldirs -mapall=1440676671:1381159979
# docker-machine-nfs-end machine30
IMO it's because there is a bug somewhere in code responsible for replacing content in /etc/exports.
For example when we want to mount machine30 - script makes search and replace texts which begins with machine30 word and when there is already mounted machine30trans - script removes only machine30 text and left unnecessary trans word.
The problem doesn't occurs when we firstly mount machine30 and secondly machine30trans