From c0aa05c62a88413b3bb0e6be7d3472f9d92e974a Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Thu, 27 Mar 2014 20:59:07 -0300 Subject: [PATCH] providers/docker: Handle forwarded port collisions --- plugins/providers/docker/action.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/providers/docker/action.rb b/plugins/providers/docker/action.rb index 70f46b86a..b9ee43c0d 100644 --- a/plugins/providers/docker/action.rb +++ b/plugins/providers/docker/action.rb @@ -13,9 +13,8 @@ module VagrantPlugins # If the VM is NOT created yet, then do the setup steps if env[:result] b2.use HandleBox - # TODO: Find out where this fits into the process - # b2.use EnvSet, :port_collision_repair => true - # b2.use HandleForwardedPortCollisions + b2.use EnvSet, :port_collision_repair => true + b2.use HandleForwardedPortCollisions b2.use Provision b2.use PrepareNFSValidIds b2.use SyncedFolderCleanup