WordPress since 2003 ♡ WooCommerce since 2011

Regenerating Docker Machine TLS Certificate

Yesterday I updated my virtual box which confused my Local by Flywheel setup much. It got stuck in a loop, “Regenerating Docker Machine TLS Certificate ” then “Checking System”.

Here is the solution that worked for me as posted in: https://local.getflywheel.com/community/t/regenerating-docker-machine-tls-certificate-checking-system-wont-start/5235/8?u=conschneider

I work on a Mac. If your Local runs on Windows, visit the link above for a modified version.

  • Quit Docker.
  • Open terminal and run:
alias local-docker-machine="/Applications/Local\ by\ Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine"
  • Wait for it to run, should only take a moment.
  • Now run:
local-docker-machine stop local-by-flywheel; rm -rf ~/.docker/machine/certs; local-docker-machine create local-cert-gen; local-docker-machine start local-by-flywheel; local-docker-machine regenerate-certs -f local-by-flywheel; local-docker-machine rm -f local-cert-gen;
  • Wait for it to run, should take a few minutes.
  • Afterwards open Local again.

Hope that fixes the problem for you as well.

keep reading?

Leave the first comment