how to check if docker installed properly or not 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