analyze-local-images assumes that Clair has been setup on the same docker machine and network that you are running it from, and will output the report to your terminal. The image being inspected must also be on the same docker machine.
docker run --net=host --rm -v <local_tmp>:/tmp -v /var/run/docker.sock:/var/run/docker.sock darrenajackson/analyze-local-images:0.0.1 <image-to-analyze>
Where <local_tmp> is the default temporary file system of your operating system.
Additionally run the docker run command without the <image-to-analyze> to see a full list of possible options.