Hi,
Because I have to use a docker which requires newer kernel version than the 
debian server which I'm using right now,(and I can't update the kernel 
because of political reason,) I'm trying to install the vagrant to the 
server but I got stuck in very first place.

I first run following code.

cd ~/try-docker/
apt-get install vagrant vagrant-lxc
#seems installed successfully...
vagrant box add 
CENTOS7 
https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box
#the URL is the one second from the top in http://www.vagrantbox.es/
vagrant init 
#looks woking fine and Vagrantfile has been created.
vagrant up

The last command will cause following error.

Bringing machine 'default' up with 'lxc' provider...
==> default: Box 'CENTOS7' could not be found. Attempting to find and 
install...
    default: Box Provider: lxc
    default: Box Version: >= 0
==> default: Adding box 'CENTOS7' (v0) for provider: lxc
    default: Downloading: CENTOS7
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 open file /root/try-docker/CENTOS7

Looks like vagrant can't find a box image. but actually, I can find it in
~/.vagrant.d/boxes/
and when I type the following command,
ls ~/.vagrant.d/boxes/CENTOS7/0/virtualbox/
I get
Vagrantfile  box-disk1.vmdk  box.ovf  metadata.json

And I eventually find out that even the simple command like
vagrant -v
puts following error

/usr/bin/vagrant:18:in `require_relative': cannot load such file -- 
/usr/lib/vagrant/version (LoadError)
        from /usr/bin/vagrant:18:in `<main>'

So my question is. What am I missing here? How can I successfully run 
`vagrant up` command?  
I really appreciate your help. Thanks in advance!

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/02ea3c46-310a-4a14-8687-195810bd4868%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to