docs: public List<String> createVolumesAsPerVolumeBinds(ServiceHub hub, List<String> binds, List<VolumeConfiguration> volumes)
              throws DockerAccessException {
  
          Map<String, Integer> indexMap = new HashMap<>();
          List<String> volumesCreated = new ArrayList<>();
  
          for (int index = 0; index < volumes.size(); index++) {
              indexMap.put(volumes.get(index).getName(), index);
          }
  
          for (String bind : binds) {
              if (bind.contains(":")) {
                  String name = bind.substring(0, bind.indexOf(':'));
                  Integer volumeConfigIndex = indexMap.get(name);
                  if (volumeConfigIndex != null) {
                      VolumeConfiguration volumeConfig = volumes.get(volumeConfigIndex);
                      hub.getVolumeService().createVolume(volumeConfig);
                      volumesCreated.add(volumeConfig.getName());
                  }
              }
          }
  
          return volumesCreated;
      }