Hello guys.
I am trying to solve an issue with provisioning docker-machine on Vagrant using virtualbox provider about a month but still have no any progress.
The issue is docker-machine can not be created properly and can not start (ssh issue, waiting for ip and so on) on Vagrant box Centos 7.3.
What i have tried to do:
1. Used nested virtualisation: Virtualbox for Vagrant and Virtualbox for docker-machine. BUT, as google tells that Virtualbox does not support nested virtualisation so this binding Host VirtualBox -> guest VirtualBox does not work.
2. That is why i have tried later to ise KVM as host hypervisor. Enabled nested virtualisation in configuration files. But still no luck. Faced with the same issue. "Waiting for IP during call of SSH".
3. I even tried add vagrant user to sudoers with NOPASSWD parameter (in case if ssh fails do to attempt of login), but error still has a place.
4. Tried create docker-machine with "native-ssh" parameter. No luck.
5. Tried to turn of firewall on vagrant and host os, but in this case connectivity does not work at all.
6. Tried to set selinux in permissive mode but it also does not help.
7. Tried to change virtualbox NIC from intel to VIRTIO type. But is has no affect. Error still the same.
8. Also tried to use for docker-machine creation generic driver instead of virtualbox driver but i am facing with the same issue.
So, looks like after all of this that error is not in virtualbox and not in docker, but in vagrant. And i am little bit tired of this and have no more ideas where to find.
Please help to find a root cause and fix it.
Thanks.