public JibContainerBuilder addVolume(AbsoluteUnixPath volume) {
    containerBuildPlanBuilder.addVolume(volume);
    containerConfigurationBuilder.addVolume(volume);
    return this;
  }
Adds a directory that may hold an externally mounted volume.

@param volume a directory path on the container filesystem to represent a volume
@return this
@see #setVolumes(Set)
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java