adlogix / docker-machine-nfs

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

Updated getting docker-machine properties #98

Closed iworker closed 5 years ago

iworker commented 5 years ago

I've got an error when running docker-machine-nfs:

docker-machine-nfs default --shared-folder=/Users
[INFO] Configuration:

    - Machine Name: default 
    - Shared Folder: /Users
    - Mount Options: noacl,async 
    - Force: false 

[INFO] machine presence ...             OK 
[INFO] machine running ...          FAIL

The machine 'default' is not running but 'virtualbox'! 

When I checked, the reason was updated docker-machine which returns different count of columns compared to old versions. So, I changed behavior to get these properties without grep-sed-awk magic, using only native docker-machine command line options.

tonivdv commented 5 years ago

Thanks