Book Image

Developing with Docker

By : Jaroslaw Krochmalski, Jarosław Krochmalski
Book Image

Developing with Docker

By: Jaroslaw Krochmalski, Jarosław Krochmalski

Overview of this book

This fast-paced practical guide will get you up and running with Docker. Using Docker, you will be able to build, ship, and run many distributed applications in real time. You will start with quickly installing Docker and start working with images and containers. We will present different types of containers and their applications, and show you how to find and build images. You will learn how you can contribute to the image repository by publishing different images. This will familiarize you with the image building process and you will be able to successfully run your programs within containers. By finishing this book, you will be well equipped in deploying your applications using Docker and will have a clear understanding of concepts, techniques, and practical methods to get it running in production systems.
Table of Contents (16 chapters)
Developing with Docker
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Summary


You may have an impression, that there is a huge flexibility when it comes to running Docker containers. And you are right, definitely there is much we can do. We can override the images RUN, CMD, ENTRYPOINT instructions to change the container run behavior, sometimes even totally change the container's purpose if needed. Docker provides a lot of powerful commands to inspect the container runtime state, viewing logs, events and statistics. They surely make devop's daily job a lot easier. Also, setting the container restart policies and runtime constraints on CPU or memory can result of run-and-forget way of working with Docker containers. If you need your applications to scale easily, there is nothing simpler than bringing a Docker Swarm to life. Setting up Docker Swarm is easy, straightforward and flexible. Of course, detailed setup of a cluster may take some time, but running a basic cluster of Docker containers in seconds is possible.

Now that we know how to create images, how...