Chapter 3. Working with Docker Images

In this chapter, we will cover the following recipes:

  • Creating an account with Docker Hub
  • Creating an image from the container
  • Publishing an image to the registry
  • Looking at the history of an image
  • Deleting an image
  • Exporting an image
  • Importing an image
  • Building images using Dockerfiles
  • Building an Apache image – a Dockerfile example
  • Accessing Firefox from a container – a Dockerfile example
  • Building a WordPress image – a Dockerfile example
  • Setting up a private index/registry
  • Automated Builds – with GitHub and Bitbucket
  • Creating the base image – using supermin
  • Creating the base image – using Debootstrap
  • Visualizing dependencies between layers

Introduction

In this chapter, we will focus on operations relating to images. As we ...

Get DevOps: Puppet, Docker, and Kubernetes 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.