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 O’Reilly online learning.

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