Allow user to check where volume is binded on host by pnuz3n · Pull Request #49 · docker-java/docker-java
Inspect container returns the physical location in host where container's volumes are binded. This information was not accessible using docker-java. This merge adds possibility to check this information.
It is used something like:
InspectContainerResponse container = docker.inspectContainerCmd(appid).exec();
for (VolumeBind bind : container.getVolumes()) {
System.out.println(bind.getHostPath()+":"+bind.getContainerPath());
}