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

Installing on Linux


As we have said before, Linux is the natural habitat for Docker. Therefore, there is no need to virtualize the Linux kernel. You can run Docker without VT-x or similar technologies in your processor, since Docker only requires cgroups to be available on the kernel to get the majority of its features working. Cgroups (control groups) is a Linux kernel feature that limits, accounts for, and isolates the resource usage (CPU, memory, disk I/O, network, and so on) of a collection of processes. Docker will simply use the kernel of your own operating system. This also makes the installation package smaller—there is no need for a virtualization engine and another virtualized operating system. This is the reason that the installation process is a little bit different from the one on Mac OS or Windows. First, there is no Docker Machine included in the installation—it's simply not mandatory for Linux. Second, there is no fancy GUI installer. You will need to perform most of the...