plugins/providers/docker/action/create.rb in vagrant-unbundled-1.9.1.1 vs plugins/providers/docker/action/create.rb in vagrant-unbundled-1.9.5.1
- old
+ new
@@ -127,9 +127,12 @@
next if type != :forwarded_port
# Don't include SSH if we've explicitly asked not to
next if options[:id] == "ssh" && !include_ssh
+ # Skip port if it is disabled
+ next if options[:disabled]
+
# If the guest port is 0, put it in the random group
if options[:guest] == 0
random << options[:host]
next
end