adlogix / docker-machine-nfs

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

checkMachineRunning invalid filter #106

Open Denis-Sidorov opened 3 years ago

Denis-Sidorov commented 3 years ago

Hello,

There is a bug with checkMachineRunning when a machine list contains a machine in "error" state.

e.g.:

image

Reproduce steps:

  1. Create 2 machines
  2. Stop the second machine and remove its config
  3. Try to start the second machine. It will be in the error state
  4. Try to filter the first machine by name: docker-machine ls motivation --filter "Name=motivation" --format "{{.State}}"

It will show 2 states: Running and Error:

image