FieryCod / holy-lambda

The extraordinary simple, performant, and extensible custom AWS Lambda runtime for Clojure.
https://fierycod.github.io/holy-lambda
MIT License
340 stars 20 forks source link

Check if docker is running before stack:sync #45

Closed FieryCod closed 3 years ago

FieryCod commented 3 years ago

For MacOS:

pgrep -f Docker.app > /dev/null || echo "Docker is not running!"

For Linux:

pgrep -f docker > /dev/null || echo "Docker is not running!"
galderz commented 2 years ago

You should not assume macos users have Docker.app installed. This is a premium app now and a lot of users have switched to free alternatives, e.g. Colima.

FieryCod commented 2 years ago

@galderz Thx. Most of the tasks code will be deprecated soon and replaced with Clojure tools.build programmatic API. I took note of your comment. All the best!