diff --git a/plugins/providers/docker/provider.rb b/plugins/providers/docker/provider.rb index 3ec281661..28d5b9967 100644 --- a/plugins/providers/docker/provider.rb +++ b/plugins/providers/docker/provider.rb @@ -136,7 +136,10 @@ module VagrantPlugins # here and we let Vagrant core deal with it ;) return nil if !ip - { host: ip } + { + host: ip, + port: @machine.config.ssh.guest_port + } end def state