adlogix / docker-machine-nfs

Activates NFS on docker-machine
MIT License
794 stars 104 forks source link

Work with file path including spaces #90

Closed nojimage closed 5 years ago

nojimage commented 6 years ago

When shared folder includes space char, docker-machine-nfs don't work correctly.

eg.

docker-machine-nfs default --shared-folder=/Users/nojima/Documents/Virtual\ Machines.localized/project

[INFO] Configuration:

    - Machine Name: default
    - Shared Folder: /Users/nojima/Documents/Virtual
    - Shared Folder: Machines.localized/project
    - Mount Options: noacl,async

    - Force: false
...

This patch allows to mount even paths that contain spaces.

tonivdv commented 5 years ago

Thanks for the contribution!