summaryrefslogtreecommitdiff
path: root/vendor/github.com/mitchellh/packer/builder/docker/step_run.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mitchellh/packer/builder/docker/step_run.go')
-rw-r--r--vendor/github.com/mitchellh/packer/builder/docker/step_run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/mitchellh/packer/builder/docker/step_run.go b/vendor/github.com/mitchellh/packer/builder/docker/step_run.go
index 92803f93..5a56d8d7 100644
--- a/vendor/github.com/mitchellh/packer/builder/docker/step_run.go
+++ b/vendor/github.com/mitchellh/packer/builder/docker/step_run.go
@@ -26,7 +26,7 @@ func (s *StepRun) Run(state multistep.StateBag) multistep.StepAction {
for host, container := range config.Volumes {
runConfig.Volumes[host] = container
}
- runConfig.Volumes[tempDir] = "/packer-files"
+ runConfig.Volumes[tempDir] = config.ContainerDir
ui.Say("Starting docker container...")
containerId, err := driver.StartContainer(&runConfig)