Adapted script to work with docker-py 0.1.0, added command line tool