Welcome to the new Linux Foundation Forum!

Lab 1: vagrant issue when trying to get up and running

Hi, I'm running into some issues after running the vagrant up command. I have docker installed on my computer, which should be an appropriate provider for vagrant. Even when I specify docker as the provider (see attempt 2) the error message tells me that fabric-fundamentals is not in the home directory. However, when I do an ls on the home directly, it is clearly there as the box image...

Any ideas?

Attempt 1:
My-MacBook-Pro:~ myname$ vagrant up
No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
vagrant up --provider=PROVIDER, which should give you a more specific
error message for that particular provider.

**Attempt 2: **
My-MacBook-Pro:~ myname$ vagrant up --provider=docker
Bringing machine 'default' up with 'docker' provider...
==> default: Box 'fabric-fundamentals' could not be found. Attempting to find and install...
default: Box Provider: docker
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'fabric-fundamentals' (v0) for provider: docker
default: Downloading: fabric-fundamentals
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 /Users/myname/fabric-fundamentals

My-MacBook-Pro:~ myname$ ls
Desktop Movies fabric-fundamentals.box
Documents Music go
Downloads Pictures
Dropbox Public
Library Vagrantfile

Comments

  • PDXtonianPDXtonian Posts: 4

    Note that there is reference to installing VirtualBox in the error message. This is not shown to be needed in the lab tutorial itself (?).

Sign In or Register to comment.