Skip to content

getdocker

Ulrich Berntien edited this page Apr 15, 2019 · 1 revision

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
Clone this wiki locally