Book Image

Deploying and Running Docker Containers [Video]

By : Allan Espinosa
Book Image

Deploying and Running Docker Containers [Video]

By: Allan Espinosa

Overview of this book

<p><span id="description" class="sugar_field">Docker is a portable container format that allows you to run code anywhere from your desktop to the cloud. Docker's workflow makes development, testing, and deployment much easier and much faster. This video course will walk you through a basic deployment-pipeline setup in Jenkins. You will then learn how to create two minimal Docker environments: one for development and one for production. You will then set up Jenkins inside a Docker container to support and automate your deployment pipeline. Next, you will learn how to provide reliability and scalability to your application by setting up a cluster of Docker hosts using Docker's Swarm mode, and then automate the deployment of Docker hosts using Chef. Finally, you will monitor, log, and manage your Docker containers. Towards the end of this video course, you will work with the various components required to run Docker in production.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">We start with a high-level description of continuous delivery and a reference implementation viewers of this video can use. </span></span></p> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">This volume how to do things manually to give viewers an intuition. The manual steps are paired with a reference implementation on how to automate things to be able to truly scale their production Docker environment.</span></span></p>
Table of Contents (6 chapters)
Chapter 4
Automating Docker Host Deployments
Content Locked
Section 2
Setup Docker with Chef
The aim of this video is to create a chef cookbook to define what a Docker host is made of in code - Create our Chef cookbook defining the Docker host - Do the Chef bootstrap to register our Docker hosts to the hosted Chef service - Update the Chef cookbook to install the Docker engine on all the hosts