Book Image

Docker Quick Start Guide

By : Earl Waud
Book Image

Docker Quick Start Guide

By: Earl Waud

Overview of this book

Docker is an open source software platform that helps you with creating, deploying, and running your applications using containers. This book is your ideal introduction to Docker and containerization. You will learn how to set up a Docker development environment on a Linux, Mac, or Windows workstation, and learn your way around all the commands to run and manage your Docker images and containers. You will explore the Dockerfile and learn how to build your own enterprise-grade Docker images. Then you will learn about Docker networks, Docker swarm, and Docker volumes, and how to use these features with Docker stacks in order to define, deploy, and maintain highly-scalable, fault-tolerant multi-container applications. Finally, you will learn how to leverage Docker with Jenkins to automate the building of Docker images and the deployment of Docker containers. By the end of this book, you will be well prepared when it comes to using Docker for your next project.
Table of Contents (10 chapters)

Technical requirements

You will be pulling Docker images from Docker's public repo, so basic internet access is required to execute the examples within this chapter. You will be setting up a multi-node swarm cluster, so you will need multiple nodes to complete the examples in this chapter. You can use physical servers, EC2 instances, Virtual Machines on vSphere or Workstation or even on Virtual Box. I utilized 6 VMs on Vmware Workstation for my nodes. Each VM is configured with 1 GB ram, 1 CPU, and 20 GB HDD. The guest OS utilized is Xubuntu 18.04 for its small size and full Ubuntu feature set. Xubuntu can be downloaded from https://xubuntu.org/download/. Virtually any modern Linux operating system choice would be acceptable for the nodes.

The code files of this chapter can be found on GitHub:
https://github.com/PacktPublishing/Docker-Quick-Start-Guide/tree/master/Chapter05...