softprops / shiplift

🐳 🦀 rust interface for maneuvering docker containers
MIT License
624 stars 119 forks source link

A way to check if docker exists on the target system? #287

Open Blakeinstein opened 3 years ago

Blakeinstein commented 3 years ago

Maybe shiplift::new() can return an option?

I am trying to build a diagnostic tool and am using shiplift to get status of docker containers. Now the target machine may or may not have docker running, and I don't want the tool to error out.

I am unsure if its possible as of now, looking at the docs.