I'm getting this error when trying to start Docksal machine with
fin up or
fin vm start
Error checking TLS connection: Error checking and/or regenerating the certs:
There was an error validating certificates for host "192.168.64.100:2376":
dial tcp 192.168.64.100:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
Sometimes docker-machine certificaties re-generation fails.
Usually it is solved with
fin vm restart.
If simple restart did not help try:
fin docker-machine regenerate-certs -f fin vm restart
However in rare cases this does not help too. If that does not help either you will have to delete existing Docksal VM and re-create it.
fin vm remove fin vm start