I installed docker and there seems to be some issue.
$ docker ps
CONTAINER ID IMAGE COMMAND
if you are using docker toolbox, type this before running the docker ps command to set the environment
docker-machine env default