From 0fe3c9187e9843e96238b1cdff757eca7c76850f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 2 Apr 2014 08:45:20 -0700 Subject: [PATCH] website/docs: update docker provisioner --- website/docs/source/v2/provisioning/docker.html.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/website/docs/source/v2/provisioning/docker.html.md b/website/docs/source/v2/provisioning/docker.html.md index 064af6f81..dade3be3d 100644 --- a/website/docs/source/v2/provisioning/docker.html.md +++ b/website/docs/source/v2/provisioning/docker.html.md @@ -119,8 +119,13 @@ Vagrant.configure("2") do |config| end ``` -This will `docker run` a container with the "rabbitmq" image. In addition -to the name, the `run` method accepts a set of options, all optional: +This will `docker run` a container with the "rabbitmq" image. Note that +Vagrant uses the first parameter (the image name by default) to override any +settings used in a previous `run` definition. Therefore, if you need to run +multiple containers from the same image then you must specify the `image` +option (documented below) with a unique name. + +In addition to the name, the `run` method accepts a set of options, all optional: * `image` (string) - The image to run. This defaults to the first argument but can also be given here as an option.