O'Reilly logo

Creating Development Environments with Vagrant by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing Vagrant boxes

We can manage Vagrant boxes using the vagrant box subcommands. Let's run that with the help flag (--help) and see what subcommands are available:

vagrant box --help

The following screenshot shows all the available subcommands:

Managing Vagrant boxes

There are four available box-related subcommands. With each of these, we can provide the --help flag to see what additional arguments are available. The available box-related subcommands are:

vagrant box add <name> <url> [--provider provider] [--force]
vagrant box list
vagrant box remove <name> <provider>
vagrant box repackage <name> <provider>

Let's review these in detail.

Adding Vagrant boxes

The add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required