systemctl status docker
$ docker -v Docker version 1.7.0, build 0baf609 $ echo $? 0
#to check if docker is installed run $ docker --version #to check if docker is running run command $ systemctl status docker