todo for adding option for docker index