CHAPTER 3

image

The States of VM

Now that you know how to run applications within a Vagrant-controlled environment, it’s time to learn more about Vagrant internals and get acquainted with the operations behind the $ vagrant up command. In this chapter, you will learn about the following:

  • Vagrantfile
  • Versioning strategy for the Vagrantfile format
  • Base boxes (where they come from and how, and when they get installed on your computer)
  • Starting and stopping a VM
  • States that a VM can enter
  • Vagrant commands to manage a VM state
  • Resolving the problem of colliding ports

To simplify this analysis of $ vagrant up, Vagrant’s actions will be divided into three ...

Get Pro Vagrant now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.