Vagrant related problem while running Vagrant up on mac os x

Asked

Viewed 528 times

1

I am trying to bring a box to run as a test system however I am not succeeding, I am using mac os x Yosemite and have already installed the virtual box and the same is in the following way Applications/VirtualBox.app/ the error that is appearing is as follows when running: vagrant init ubuntu/trusty64; vagrant up --provider virtualbox running separately is happening error regarding Vagrant up command:

  sh-3.2# vagrant up --provider virtualbox
   Bringing machine 'default' up with 'virtualbox' provider...
   ==> default: Box 'ubuntu/trusty32' could not be found. Attempting to find and install...
  default: Box Provider: virtualbox
  default: Box Version: >= 0
  ==> default: Loading metadata for box 'ubuntu/trusty32'
  default: URL: https://atlas.hashicorp.com/ubuntu/trusty32
  ==> default: Adding box 'ubuntu/trusty32' (v20150609.0.9) for provider: virtualbox
  default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty32     /versions/20150609.0.9/providers/virtualbox.box
  An error occurred while downloading the remote file. The error
  message, if any, is reproduced below. Please fix this error and try
  again.

  Failed to connect to 2001:67c:1360:8001:ffff:ffff:ffff:fffe: No route to  host

someone has been there.

1 answer

1

The address https://atlas.hashicorp.com/ubuntu/boxes/trusty32 is valid but it is trying to access via IP address version 6.

In my Yosemite works with the following Vagrantfile:

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
  config.vm.box = "ubuntu/trusty32"
end

:-)

  • it still hasn’t worked out look at my file http://codecor.com.br/certificados/vragrant.html

  • this error that is happening now. An error occurred while downloading the remote file. The error message, if any, is Reproduced Below. Please fix this error and Try Again. Couldn’t resolve host 'cloud-images.ubuntu.com'

  • 1

    You’re having DNS trouble. Open this link in the browser: http://cloud-images.ubuntu.com/ .

  • You are not required to use Vagrant. A much lighter option is Docker. docker run ubuntu: trusty Have tried with it ?

  • is opening the address

  • I don’t know Doker, where his papers are

  • To learn more about Docker, see this Issue here at Stackoverflow pt_BR what-the-advantages-of-the-use-the--Docker-in-place-of-the-Vagrant or visit http://joao-parana.com.br/ where you can find posts on the subject.

  • really was in trouble in dns, I managed to run the box

Show 3 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.