how to check if docker is installed properly code example
Example: how to check if i have docker installed
$ docker -v
Docker version 1.7.0, build 0baf609
$ echo $?
0
$ docker -v
Docker version 1.7.0, build 0baf609
$ echo $?
0