public JibContainerBuilder setVolumes(Set<AbsoluteUnixPath> volumes) {
    containerBuildPlanBuilder.setVolumes(volumes);
    containerConfigurationBuilder.setVolumes(volumes);
    return this;
  }
Sets the directories that may hold externally mounted volumes.

<p>This is similar to <a href="https://docs.docker.com/engine/reference/builder/#volume">{@code
VOLUME} in Dockerfiles</a>.

@param volumes the directory paths on the container filesystem to set as volumes
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java