Restart Docker for Mac from Terminal
Quick tip on how to restart Docker for Mac from your Terminal. There’s no CLI for Docker for Mac, so to restart Docker you need to do this from the menu bar app. I created a useful alias that would restart docker and also give me a visual prompt about this (since it can take a minute or 2)
This is an alias for ZSH but it should work on Bash too.