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.
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 subjectDocker 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!
Prerequisites
No experience with Docker is required. The course assumes basic familiarity with Linux and software development.
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.
Table of Contents
INTRODUCTION TO DOCKER
How to replicate and isolate individual projects
00:09:35
Virtual world vs. the container world
00:05:20
What should you put in a container?
00:04:35
Container exercise 1
00:04:32
What is a microservice?
00:06:49
What is the Docker Engine?
00:07:51
Summary
00:01:28
DOCKER IMAGES
Docker images versus Docker containers
00:05:45
How to pull Docker images
00:08:20
What is a Docker image layer?
00:07:29
How to remove Docker images
00:04:56
Web development benefits of using Docker images
00:05:06
Summary
00:00:58
HOW TO CREATE A DOCKER IMAGE
What is a Dockerfile?
00:02:11
Dockerfile structure
00:07:08
Creating your first Dockerfile
00:03:00
Building your first Dockerfile
00:02:39
Getting your image history
00:01:14
Inspect your image
00:00:38
Dockerfile good practice
00:07:31
Dockerfile copying and adding
00:04:22
Dockerfile environmental variables
00:08:54
How to pass variables into the build
00:09:46
Summary
00:00:56
DOCKER IMAGE MANAGEMENT
How to quickly remove unused images
00:10:25
How to tag your images
00:08:36
How to log in to a Docker registry
00:03:10
How to push a Docker image
00:05:21
How to pull images from the Docker Hub
00:03:24
How to update the remote images
00:05:41
Summary
00:00:32
MANAGING DOCKER CONTAINERS
How to create a container from an image
00:10:28
How to create a container from an inbuilt image
00:07:43
How to name a container
00:04:18
How to stop a container
00:03:20
How to start a container
00:02:31
How to restart a container
00:02:37
How to run a command against a container
00:05:08
How to get inside a container
00:07:47
How to adjust the working directory
00:04:13
How to adjust the user
00:04:40
How to run the web server
00:13:51
General security good practices
00:04:45
Summary
00:00:45
BUILDING A DATABASE CONTAINER
How to build an image with a database
00:06:19
How to run the database in a Docker container
00:04:24
How to run the database container
00:09:38
How to add data to the database
00:05:36
The problems with storing data
00:03:22
Summary
00:00:33
HOW TO STORE DATA
What are the storage options?
00:04:18
How to make a bind mount
00:07:33
How to create a Docker volume
00:09:55
How to copy files into a container
00:09:38
How to list your volumes
00:02:54
How to remove a volume
00:04:20
How to share a volume amongst containers
00:04:48
Summary
00:00:39
DOCKER COMPOSE
The Docker Compose structure
00:04:41
How to run containers quickly
00:03:31
How to update all your images
00:02:07
How to remove all of your volumes
00:03:33
How to expose your database and webserver ports
00:01:39