O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Real World Docker

Video Description

Feeling uncertain about how to use Docker in the real world? This course will put you at ease. Beginning with single-app deployments and managing a database all the way to building a dynamic architecture with automated service discovery, the course gives examples and code on how to build and deploy your apps in a Docker environment.

To get the most out of the class, learners will need access to the toolsets listed in the bullets below, and have a basic understanding of Docker and basic Docker commands.

  • Gain hands-on experience using Docker in a variety of real-world situations
  • Learn to deploy a single-service monolithic application with continuous testing deployment
  • Review methods for deploying, backing up and restoring a Docker database
  • Understand how to build and secure a Docker "swarm" consisting of multiple web servers
  • Learn to dynamically route external traffic to Docker containers using automated service discovery
  • Required tools: Computer running Linux, OSX 10.8+, or 64-bit Windows 7+
  • Required computing infrastructure: Access to AWS, Digital Ocean, or Rackspace
Will Stern is a Docker Captain, IT educator, web developer, software architect and GitHub denizen. He founded LearnCode.academy (190,000 subscribers and 600,000 monthly views), has fifteen years of experience as a developer, and has focused the last 5 years on web DevOps (WebMD, etc.), and currently works for HigherEducation.com.

Table of Contents

  1. Introduction
    1. Course Introduction 00:01:55
    2. About The Author 00:00:56
    3. Advantages Of Container-Based Architecture 00:05:27
    4. The Emerging Microservices Architectural Pattern 00:03:57
  2. Deploying Monolithic/Singer-Service Applications
    1. Server Setup, Building & Deploying A Single Application 00:08:02
    2. Local-Development Workflow 00:07:04
    3. Local-Development With A Database 00:04:59
    4. Working With Production Dabases 00:04:57
    5. Backing Up And Restoring Database Data 00:07:46
  3. Continous Deployment With CircleCI
    1. Continuous Testing 00:07:45
    2. Continuous Deployment From A Master Branch 00:05:06
    3. Continuous Deployment For Other Environments 00:11:28
  4. Introduction To Services And Microservices
    1. Why Services And Microservices Can Work So Well 00:14:24
    2. Why Docker Is The Perfect Fit For Microservices 00:04:54
    3. 3 Quick Wins Of A Good Microservice 00:02:40
    4. The Journey Of Breaking A Monolith Into Microservices 00:07:32
  5. Service Discovery - The Big "New" Piece
    1. The Role Of Service Discovery In Disposable Infrastructure 00:04:14
    2. Service Registration With Etcd 00:05:12
    3. Service Registration With Consul 00:05:14
  6. Dynamic Architecture/Nodes
    1. Creating A "Swarm" Of Docker Servers 00:10:37
    2. Deploying Applications To Your Swarm 00:05:51
    3. Adding Tags To Control Container Placement 00:06:42
    4. Security Concerns With Docker Swarm 00:10:02
  7. Dynamic Registration & Discovery
    1. Service Discovery Patterns 00:04:26
    2. Getting Our Registry Up And Going 00:05:02
    3. Service Self-Registration 00:05:54
    4. Sidekick Service Registration 00:05:35
    5. Automated Container Registration 00:09:58
    6. Dynamic Load Balancing 00:06:18
    7. Dynamic Load Balancing Code Walkthrough 00:02:59
    8. SSL Termination 00:03:45
    9. Docker Anti-Patterns 00:07:40
  8. Deployment Strategies
    1. Rolling Deployments With Multiple Containers 00:07:10
    2. Red-Black Deployments 00:04:54
    3. Blue-Green Deployments 00:07:01
    4. Multiple-Running-Version Deployments 00:04:01
  9. Conclusion
    1. Wrap-Up And Thank You 00:01:42