sergeycherepanov / homebrew-docker-virtualbox

Docker workaround for Ryzentosh (AMD based Hackintosh)
208 stars 20 forks source link

Error checking TLS connection #31

Closed ainsleyclark closed 2 years ago

ainsleyclark commented 2 years ago

Hi,

Thanks for this package.

However I'm getting an error when executing brew services start docker-virtualbox

I have tried. docker-machine regenerate-certs docker

And my /etc/vbox/networks.conf looks like below (I had to manually create it as VirtualBox didn't create the folder.

* 10.0.0.0/8 192.168.0.0/16 172.16.0.0/12

# * 0.0.0.0/0 ::/0
* 192.168.99.0/8
192.168.99.0/8
 NFS already mounted.
--------------------------------------------

 The docker-machine 'docker'
 is now mounted with NFS!

 ENJOY high speed mounts :D

--------------------------------------------
===> Starting Gobetween...
---> Gobetween started
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": x509: certificate is valid for 127.0.0.1, 127.0.0.1, ::1, 10.0.2.15, not 192.168.99.100
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which might stop running containers.
ainsleyclark commented 2 years ago

Apologies,

docker-machine regenerate-certs docker This did in fact work.

gerald24 commented 2 years ago

do you really have both lines in /etc/vbox/networks.conf:

* 192.168.99.0/8
192.168.99.0/8

if yes - remove last line - leave only * 192.168.99.0/8