getdocker - zMarch/Orc GitHub Wiki
getdocker
Name
getdocker – checks for docker
Synopsis
getdocker
Description
getdocker checks if the docker socket in /var/run/docker.sock exists, if we have write access, and then if we do, runs docker ps
getdocker writes the report to stdout.
Example
Run the function. There are no command line arguments.
$ getdocker