docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.97k forks source link

How to change that default value of 10 retries to 20? #4822

Open TWINGSISTER opened 4 years ago

TWINGSISTER commented 4 years ago

How to change that default value of 10 retries to 20? Looks like with Parallels Desktop it is always not enough.

Originally posted by @JulyIghor in https://github.com/docker/machine/issues/4567#issuecomment-651125734

TWINGSISTER commented 4 years ago

For some drivers this timeout (10) is too short (see @JulyIghor). Possibly this could be set using some new docker-machine parameter I propose to introduce. Not really difficult to implement 10 is hardwired here... https://github.com/docker/machine/blob/b170508bf44c3405e079e26d5fdffe35a64c6972/libmachine/provision/utils.go#L269 No simple way to bypass this without modifying the code...