Windows – Vagrant: Error: Could not resolve host: (nil); Host not found

vagrantvirtualboxwindows

I am getting "Could not resolve host" error while trying to create a vm using vagrant and VirtualBox. I followed the instruction from http://docs.vagrantup.com/v2/getting-started/

Executed the below 2 commands

  1. vagrant init hashicorp/precise32

  2. vagrant up

Below is the error message.

C:\Users\xyz123>vagrant up Bringing machine 'default' up with
'virtualbox' provider…
==> default: Box 'ubuntu/trusty32' could not be found. Attempting to find and in stall…
default: Box Provider: virtualbox
default: Box Version: >= 0 The box 'ubuntu/trusty32' could not be found or could not be accessed in the remote catalog. If this is a
private box on HashiCorp's Atlas, please verify you're logged in via
vagrant login. Also, please double-check the name. The expanded URL
and error message are shown below:

URL: ["https://atlas.hashicorp.com/ubuntu/trusty32"] Error: Could not
resolve host: (nil); Host not found

All the help appreciated

Best Answer

Following commands fixed the problem for me with vagrant 1.7.2 on Mac

brew install curl
export DYLD_INSERT_LIBRARIES=
Related Topic