Aloha 🙌,
Running the command did not work for me so I ended up checking
Docker itself and found another way:
Open your docker desktop application
Go to settings
Search for the work "Socket" which should list one preference below the search.
Click on the linked setting and enable the setting
The setting option should be a checkbox with the following text
Allow the default Docker socket to be used (requires password)Creates /var/run/docker.sock which some third-party clients may use to communicate with Docker Desktop.
Finally - don't hesitate to restart your docker and LocalStack
Ex:
Kill the current localstack cli process localstack stop
Close the localstack desktop
Close the docker desktop app
Mount back the localstack using the clid localstack start
Open your Docker Desktop - we could check in in the list for a running container called "localstack-main" -> this is the recognized container
Open the LocalStack Desktop
You are now good to go :)