Merge pull request #3807 from mitchellh/fix-docker-ssh-wo-host-vm
providers/docker: Fix SSH access to container when no Host VM is in use
This commit is contained in:
commit
4e7a25f6de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue