Video description
A comprehensive introduction to Docker with a heavy focus on labs
About This Video
- Images: Templates to define your container
- Containers: What they are and how Docker helps you create them
- Storage: Volumes, Bind Mounts and tmpfs to manage data in containers
- Networks: Regulate connectivity to your containers whether on individual hosts or in a cluster
- Docker Swarm: The built-in container orchestration tool
- Docker EE, UCP and DTR: The enterprise offerings of Docker
In Detail
Docker is a tool which has greatly simplified the task of packaging your application, along with all its dependencies into lightweight, portable units called containers. These containers are platform independent and can be executed on any host which runs a Linux kernel. Docker is one of the hottest tools in the market right now as a lot of teams have learned how to use it to break up their large, monolithic applications into smaller and more manageable units - often called microservices. This has allowed development teams to work on microservices independently and package it into a container once it is ready. Docker has also eased the pain of DevOps teams who often need to manage the deployment processes and environments - since containers can run independently of each other, they can simply focus on deploying containers rather than worrying about dependencies for each application. Container orchestration tools such as Docker Swarm and Kubernetes have made it very easy to deploy microservices to a cluster and scale them according to demand. For these reasons, Docker is a technology which you need to know if you're an app developer or DevOps engineer.
Audience
Any app developer looking to make their applications portable and platform independent. DevOps engineers looking to simplify their CI/CD processes and deployment environments. Any professional who wishes to master Docker. Any individual looking to take and pass the Docker Certified Associate exam.
Publisher resources
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Docker Community Edition Installation
-
Chapter 3 : Docker Images
- Working With Docker: Images and Containers
- The Format of a Dockerfile
- The .dockerignorefile
- The Escape Parser Directive
- Our First Docker Image and Container
- More Dockerfile Instructions: RUN, ENV, WORKDIR
- Set the Container's Starting Point: The ENTRYPOINT Instruction
- Define a Build in a Base Image: The ONBUILD Instruction
- Stop a Container Once its Work is done: The STOPSIGNAL Instruction
- Share a Docker Image
- Pushing an Image to a Dockerhub Repo
- Another Way to Store Images: Saving to and Loading from .tar Files
- Search for Docker Images: The Docker search Command
- Examine your Image: The Docker inspect Command
- Cleaning up Images: Remove Unused and Dangling Images with Docker prune
- Deleting an Image: The Docker image rm command
-
Chapter 4 : Docker Containers
- Container Basics: Create, Start and Stop
- Restarting a Container: The Docker restart Command
- Connect to a Container: The Docker attach Command
- Interacting with a Container: The Docker exec Command
- Examine your Container Using Docker inspect
- Debugging a Container: View Container Logs
- More Debugging: View Processes of a Running Container
- Cleaning up Containers: Remove Unused Containers with Docker prune
- Remove Specific Containers using Docker rm
- Dealing with a Zombie Container: The Docker kill Command
- Renaming a Docker Container
- What has Changed in my Container?: The Docker container diff Command
- Saving the Container State: The Docker container commit Command
- Mapping Container Ports to its Host
- Putting it together: From Dockerfile to an NGINX App
-
Chapter 5 : Storage in Docker
- Managing Data in Docker
- Understanding Volumes
- Understanding Bind Mounts
- Understanding tmpfs Mounts
- Create a Volume
- Start a Container with a Volume
- Attach a Read-Only Volume to a Container
- Inspecting Details of a Volume
- Cleaning up Volumes: Prune Unused Volumes
- Observing Changes to a Volume
- Start a Container with a Bind Mount
- Start a Container with a tmpfs Mount
-
Chapter 6 : Container Orchestration with Docker Swarm
- Introducing Container Orchestration and Docker Swarm
- Preparing a Cluster: Provision the Nodes of the Swarm
- Create the Swarm: Set up the Master and Worker Nodes
- Deploy a Service in the Swarm
- Scaling Our Service
- Inspecting the Nodes in a Swarm
- Take a Swarm Node Offline: Drain a Worker
- Update and Remove a Swarm Service
- Global Services: Deploy App to All Nodes in a Swarm
- Protect Sensitive Data: Creating Secrets
- Removing Nodes from a Docker Swarm
- Alter the Swarm Hierarchy - Promoting and Demoting Swarm Nodes
- Chapter 7 : Docker Networks
- Chapter 8 : Docker's Enterprise Edition and the Universal Control Plane (UCP)
- Chapter 9 : The Docker Trusted Registry (DTR)
- Chapter 10 : The Docker Certified Associate Exam
Product information
- Title: Introduction to Docker and the DCA Certification
- Author(s):
- Release date: June 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789539097
You might also like
book
Learning Go
Go is rapidly becoming the preferred language for building web services. While there are plenty of …
video
Red Hat Certified System Administrator (RHCSA) RHEL 9
14+ Hours of Video Instruction Get intensive, hands-on RHEL 9 training with Sander van Vugt in …
video
Kubernetes in 7 Days
Build strong Kubernetes foundations in 1 week About This Video Learn how to build, manage, and …
video
Elasticsearch 8 and the Elastic Stack: In-Depth and Hands-On
Learn all the latest techniques to search, analyze, and visualize big data with Elasticsearch, Kibana, Logstash, …