Skip to Content
Docker in Practice
book

Docker in Practice

by Ian Miell, Aidan Sayers
April 2016
Intermediate to advanced content levelIntermediate to advanced
372 pages
11h 50m
English
Manning Publications
Content preview from Docker in Practice

Appendix C. Vagrant

At various points in this book we use virtual machines to demonstrate a technique for Docker that requires a full machine representation, or even multi-virtual-machine orchestration.

Vagrant offers a simple way to start, provision, and manage virtual machines from the command line, and it’s available on multiple platforms.

C.1. Setting up

Go to https://www.vagrantup.com and follow the instructions there to get set up.

C.2. GUIs

When running vagrant up to start up a virtual machine, Vagrant reads the local file called Vagrantfile to determine the settings.

A useful setting that you can create or change within the section for your provider is the gui one:

v.gui = true

For example, if your provider is VirtualBox, a typical ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Using Docker

Using Docker

Adrian Mouat
Learning Docker

Learning Docker

Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh
Developing with Docker

Developing with Docker

Jarosław Krochmalski, Jaroslaw Krochmalski
Docker for Developers

Docker for Developers

Richard Bullington-McGuire, Andrew K. Dennis, Michael Schwartz

Publisher Resources

ISBN: 9781617292729Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link