Chapter 3. Using Docker as a lightweight virtual machine

This chapter covers
  • Converting a virtual machine to a Docker image
  • Managing the startup of your container’s services
  • Saving your work as you go
  • Managing Docker images on your machine
  • Sharing images on the Docker Hub
  • Playing—and winning—at 2048 with Docker

Virtual machines (VMs) have become ubiquitous in software development and deployment since the turn of the century. The abstraction of machines to software has made the movement and control of software and services in the internet age easier and cheaper.

Tip

A virtual machine is an application that emulates a computer, usually to run an operating system and applications. It can be placed on any (compatible) ...

Get Docker in Practice, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.