Docker - Using Docker with Vagrant

In this chapter, we will learn how to provision a Vagrant machine using Docker. This is not to be confused with the Docker provider, which is used to power and manage Vagrant machines. We currently use the VirtualBox provider for this.

We'll dive deep into the Docker provisioner and see what is available within Vagrant when using Docker. Specifically, you'll learn about the following topics:

  • Understanding Docker
  • Key components of Docker (Docker Hub, containers, and images)
  • How to find and pull in an image from the Docker Hub
  • Basic usage such as running a container
  • The Docker-specific configuration within Vagrant

By the end of this chapter, you should have a good understanding of what Docker is and how it can be used as a provisioner with Vagrant.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.66.206