diff --git a/lib/vagrant-hostsupdater/HostsUpdater.rb b/lib/vagrant-hostsupdater/HostsUpdater.rb index 1b8c284..dee6ede 100644 --- a/lib/vagrant-hostsupdater/HostsUpdater.rb +++ b/lib/vagrant-hostsupdater/HostsUpdater.rb @@ -23,6 +23,9 @@ def getIps if @machine.provider_name == :lxc ip = @machine.provider.capability(:public_address) ips.push(ip) + elsif @machine.provider_name == :docker + ip = @machine.provider.capability(:public_address) + ips.push(ip) end return ips