I have an IDE that I program my self, which has an action to run a docker-compose.yml file using
docker-compose up
The action should only available when the developer has the docker desktop installed. How can I check the availability of docker desktop with java?
if(dockerDesktopAvailable()){
// my action is here
}