providers/docker: Fix SSH access to container when no Host VM is in use [GH-3799]

This commit is contained in:
Fabio Rehm 2014-05-15 20:13:45 -03:00
parent 5899227126
commit 7eecf31faa
1 changed files with 4 additions and 1 deletions

View File

@ -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