public String createVolume(VolumeConfiguration vc) throws DockerAccessException {
      VolumeCreateConfig config =
          new VolumeCreateConfig(vc.getName())
              .driver(vc.getDriver())
              .opts(vc.getOpts())
              .labels(vc.getLabels());

      return docker.createVolume(config);
   }
Service Class for helping control Volumes

 @author Tom Burton
 @version Dec 15, 2016
src/main/java/io/fabric8/maven/docker/service/VolumeService.java