fix(publisher): use a map to store the docker id -> app mapping.