Docker in Motion

Video description

Docker in Motion teaches you how to create and manage container-hosted applications in Docker. With over 2 hours of hands-on, practical video lessons, you'll learn the ins and outs of Docker and discover how to apply what you've learned to your own day-to-day development. Starting with an overview of Docker, you'll dive into the commands and techniques you'll need for running and managing containers, creating, modifying, saving and uploading Docker images from scratch, running and building multiple containers with Docker Compose, and more.



About the Technology

Docker creates sandboxed environments, called containers, that isolate your applications from the underlying infrastructure, making them much easier to deploy, migrate, scale, and remove. Each Docker container includes the application and all its dependencies in a single deployable package. Docker has rapidly become a nearly universal part of IT infrastructure in millions of Linux and cloud-based deployments worldwide, including big shops like eBay and Lyft. It's time to join them!



About the Video


What's Inside

  • An introduction to Docker and how it works
  • Image management
  • Creating Docker images
  • Managing containers
  • Storing and managing data in volumes
  • Linking your Docker containers
  • Running a web server which is connected to a database
  • Configuring containers using docker-compose


About the Reader

No experience with Docker is required. The course assumes basic familiarity with Linux and software development.



About the Author

Peter Fisher is a freelance web and mobile app developer. He's the host of the HowToCodeWell YouTube channel, where he posts weekly tutorials and talks on web development and other subjects.



Quotes
This course changed my development practices for the better.
- Damien White, Visoft, Inc.

Easy to follow, convenient, fluid video, awesome material.
- Anonymous

A clear and easy to understand guide to the principles and internal working of the Docker ecosystem.
- Jeff Samuelsen

Table of contents

  1. INTRODUCTION TO DOCKER
    1. How to replicate and isolate individual projects
    2. Virtual world vs. the container world
    3. What should you put in a container?
    4. Container exercise 1
    5. What is a microservice?
    6. What is the Docker Engine?
    7. Summary
  2. DOCKER IMAGES
    1. Docker images versus Docker containers
    2. How to pull Docker images
    3. What is a Docker image layer?
    4. How to remove Docker images
    5. Web development benefits of using Docker images
    6. Summary
  3. HOW TO CREATE A DOCKER IMAGE
    1. What is a Dockerfile?
    2. Dockerfile structure
    3. Creating your first Dockerfile
    4. Building your first Dockerfile
    5. Getting your image history
    6. Inspect your image
    7. Dockerfile good practice
    8. Dockerfile copying and adding
    9. Dockerfile environmental variables
    10. How to pass variables into the build
    11. Summary
  4. DOCKER IMAGE MANAGEMENT
    1. How to quickly remove unused images
    2. How to tag your images
    3. How to log in to a Docker registry
    4. How to push a Docker image
    5. How to pull images from the Docker Hub
    6. How to update the remote images
    7. Summary
  5. MANAGING DOCKER CONTAINERS
    1. How to create a container from an image
    2. How to create a container from an inbuilt image
    3. How to name a container
    4. How to stop a container
    5. How to start a container
    6. How to restart a container
    7. How to run a command against a container
    8. How to get inside a container
    9. How to adjust the working directory
    10. How to adjust the user
    11. How to run the web server
    12. General security good practices
    13. Summary
  6. BUILDING A DATABASE CONTAINER
    1. How to build an image with a database
    2. How to run the database in a Docker container
    3. How to run the database container
    4. How to add data to the database
    5. The problems with storing data
    6. Summary
  7. HOW TO STORE DATA
    1. What are the storage options?
    2. How to make a bind mount
    3. How to create a Docker volume
    4. How to copy files into a container
    5. How to list your volumes
    6. How to remove a volume
    7. How to share a volume amongst containers
    8. Summary
  8. DOCKER COMPOSE
    1. The Docker Compose structure
    2. How to run containers quickly
    3. How to update all your images
    4. How to remove all of your volumes
    5. How to expose your database and webserver ports

Product information

  • Title: Docker in Motion
  • Author(s): Peter Fisher
  • Release date: July 2018
  • Publisher(s): Manning Publications
  • ISBN: 10000MNLV201711