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

Chapter 2. Installing Docker

In this chapter, we will find out how to install Docker on Windows, Mac OS, and Linux operating systems. There will also be step-by-step instructions on how to set up Docker in the cloud and Amazon EC2 will be used as an example. Next, we will run the sample hello-world image to verify the setup and check whether everything works fine after the installation process. We are going to cover the following topics in this chapter:

  • Hardware requirements for running Docker

  • Installing on Windows

  • Installing on Mac OS

  • Installing on Linux

  • Installing on the Amazon AWS cloud

Docker installation is quite straightforward, but there are some things you will need to focus on to make it run. We will point them out to make the installation process painless.

Tip

It's worth mentioning that Linux is the natural environment for Docker. The Docker engine is built on top of the Linux kernel. To make it run on Windows or Mac OS, the Linux kernel needs to be virtualized.

The Docker Engine could...