in container_agent/run_containers.py [0:0]
def ContainerHash(ctr): m = sha1() m.update(yaml.dump(ctr)) return m.hexdigest()[:8]