Book description
Start from scratch and develop the essential skills needed to create, deploy, and manage cloud-native applications using Docker
Key Features
- Get a solid understanding of Docker and containers
- Overcome common problems while containerizing an application
- Master Docker commands needed for creating, deploying, and running applications
Book Description
Most applications, even the funky cloud-native microservices ones, need high-performance, production-grade infrastructure to run on. Having impeccable knowledge of Docker will help you to thrive in the modern cloud-first world. With this book, you'll gain the skills you need to work with Docker and its containers.
The book begins with an introduction to containers and explains its functionality and application in the real world. You'll then get an overview of VMware, Kubernetes, and Docker and learn to install Docker on Windows, Mac, and Linux. Once you've understood the Ops and Dev perspective of Docker, you'll be able to see the big picture and understand what Docker exactly does. The book then turns its attention to the more technical aspects, guiding your through practical exercises covering Docker engine, Docker images, and Docker containers. You'll learn techniques for containerizing an app, deploying apps with Docker Compose, and managing cloud-native applications with Swarm. You'll also build Docker networks and Docker overlay networks and handle applications that write persistent data. Finally, you'll deploy apps with Docker stacks and secure your Docker environment.
By the end of this book, you'll be well-versed in Docker and containers and have developed the skills to create, deploy, and run applications on the cloud.
What you will learn
- Become familiar with the applications of Docker and containers
- Discover how to pull images into Docker host's local registry
- Find out how to containerize an app
- Build and test a Docker overlay network in the swarm mode
- Use Docker compose to deploy and manage multi-container applications
- Securely share sensitive data with containers and Swarm services
Who this book is for
Whether you are a beginner or an experienced developer looking to utilize Docker to develop and operate cloud-native microservices apps, this book is for you. Anyone who wants to learn Docker orchestration, networking, imaging, and security will also find it useful. No prior knowledge of Docker is necessary.
Table of contents
- About the book
- Part 1: The big picture stuff
-
Part 2: The technical stuff
-
5: The Docker Engine
- Docker Engine - The TLDR
-
Docker Engine - The Deep Dive
- Getting rid of LXC
- Getting rid of the monolithic Docker daemon
- The influence of the Open Container Initiative (OCI)
- runc
- containerd
- Starting a new container (example)
- One huge benefit of this model
- Whatâs this shim all about?
- How itâs implemented on Linux
- Whatâs the point of the daemon
- Securing client and daemon communication
- Chapter summary
-
6: Images
- Docker images - The TLDR
-
Docker images - The deep dive
- Images and containers
- Images are usually small
- Pulling images
- Image naming
- Image registries
- Image naming and tagging
- Images with multiple tags
- Filtering the output of docker image ls
- Searching Docker Hub from the CLI
- Images and layers
- Sharing image layers
- Pulling images by digest
- A little bit more about image hashes (digests)
- Multi-architecture images
- Deleting Images
- Images - The commands
- Chapter summary
- 7: Containers
- 8: Containerizing an app
- 9: Deploying Apps with Docker Compose
- 10: Docker Swarm
- 11: Docker Networking
- 12: Docker overlay networking
- 13: Volumes and persistent data
- 14: Deploying apps with Docker Stacks
- 15: Security in Docker
- 16: What next
-
5: The Docker Engine
Product information
- Title: Docker Deep Dive
- Author(s):
- Release date: October 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800565135
You might also like
video
Kubernetes and Docker: The Container Masterclass
Containers are empowering businesses to scale fearlessly and manage their web applications hassle-free. They are the …
video
Docker, Dockerfile, and Docker-Compose (2020 Ready!)
If you have never worked with containerization before or you need a quick refresher on the …
video
Docker Fundamentals for Beginners
Docker is a set of platform-as-a-service products that use OS-level virtualization to deliver software in packages …
video
The Complete Practical Docker Guide
Docker is a software framework for building, running, and managing containers on servers and the cloud. …