Closed gbraad closed 7 years ago
You can test this by modifying the PID file to an existing process, which is not xhyve related. I have fixed this by looking at the process name.
Now it returns an error when the process does not contain docker-machine
$ minishift status
Error: Unable to find 'xhyve' process by PID: 341
What could happen is the following:
~/.minishift/machines/minishift/minishift.pid
minishift status
uses the recorded PID to get the statusxhyve
)docker-machine
wrongly assumes that the machine instance is activeminishift ssh
therefore will fail to loginIs there a way to make sure the process that is queried for the state is actually related to
xhyve
?Related issue: https://github.com/minishift/minishift/issues/1066#issuecomment-311552029 Code: https://github.com/zchee/docker-machine-driver-xhyve/blob/master/xhyve/xhyve.go#L316