From 1e5b6abf12f8dc3b64cd5595b37ab265b6f632ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Hu=C3=9F?= Date: Tue, 25 Sep 2018 14:22:51 +0200 Subject: [PATCH] chore: Update documentation for implicit volume creation --- src/main/asciidoc/inc/start/_volumes.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/asciidoc/inc/start/_volumes.adoc b/src/main/asciidoc/inc/start/_volumes.adoc index c4d5df3f2..6d7ab0647 100644 --- a/src/main/asciidoc/inc/start/_volumes.adoc +++ b/src/main/asciidoc/inc/start/_volumes.adoc @@ -29,6 +29,8 @@ A container can bind (or "mount") volumes from various source when starting up: In this example the container creates a new volume named `/logs` on the container and mounts `/opt/host_export` from the host as `/opt/container_import` on the container. In addition all exported volumes from the container which has been created from the image `jolokia/docker-demo` are mounted directly into the container (with the same directory names under which the exporting container exposes these directories). This image must be also configured for this plugin. Instead of the full image name, an alias name can be used, too. +If a volume name instead of a path is referenced to in `` and a <> exists with this name, then this this volume is created upfront with the provided options instead of using default options. + You can use Maven variables in the path specifications. This should even work for boot2docker and docker-machine: .Example with absolute paths