Docker Deep Dive: Zero to Docker in a single book

Docker Deep Dive: Zero to Docker in a single book

Docker Deep Dive: Zero to Docker in a single book
Автор: Poulton Nigel
Дата выхода: 2024
Издательство: Lean Publishing
Количество страниц: 280
Размер файла: 2,3 МБ
Тип файла: PDF
Добавил: codelibs
 Проверить на вирусы

Table of Contents....4

0: About the book....8

Part 1: The big picture stuff....11

1: Containers from 30,000 feet....12

The bad old days....12

Hello VMware!....12

VMwarts....12

Hello Containers!....13

Linux containers....13

Hello Docker!....14

Docker and Windows....14

What about WebAssembly....15

What about Kubernetes....15

2: Docker and container-related standards and projects....17

Docker....17

Container-related standards and projects....19

3: Getting Docker....23

Docker Desktop....23

Installing Docker with Multipass....26

Installing Docker on Linux....28

4: The big picture....29

The Ops Perspective....29

The Dev Perspective....33

Part 2: The technical stuff....37

5: The Docker Engine....38

Docker Engine – The TLDR....38

The Docker Engine....39

The influence of the Open Container Initiative (OCI)....41

runc....42

containerd....42

Starting a new container (example)....43

What's the shim all about?....45

How it's implemented on Linux....45

6: Working with Images....47

Docker images – The TLDR....47

Intro to images....48

Pulling images....49

Image registries....50

Image naming and tagging....53

Images and layers....55

Pulling images by digest....61

Multi-architecture images....64

Vulnerability scanning with Docker Scout....68

Deleting Images....70

Images – The commands....72

7: Working with containers....74

Containers – The TLDR....74

Containers vs VMs....75

Images and Containers....78

Check Docker is running....78

Starting a container....80

How containers start apps....81

Connecting to a container....83

Inspecting container processes....84

The docker inspect command....85

Writing data to a container....86

Stopping, restarting, and deleting a container....87

Killing a container's main process....89

Debugging slim images and containers with Docker Debug....91

Self-healing containers with restart policies....96

Containers – The commands....99

8: Containerizing an app....101

Containerizing an app – The TLDR....101

Containerize a single-container app....102

Moving to production with multi-stage builds....113

Buildx, BuildKit, drivers, and Build Cloud....118

Multi-architecture builds....120

A few good practices....123

Containerizing an app – The commands....125

9: Multi-container apps with Compose....127

Docker Compose – The TLDR....127

Compose background....128

Installing Compose....128

The sample app....129

Compose files....131

Deploying apps with Compose – The commands....140

10: Docker Swarm....142

Docker Swarm – The TLDR....142

Swarm primer....143

Build a secure swarm cluster....144

Docker Swarm – The Commands....165

11: Deploying apps with Docker Stacks....167

Deploying apps with Docker Stacks – The TLDR....167

Build a Swarm lab....168

The sample app....169

Deploy the app....175

Managing the app....178

Deploying apps with Docker Stacks – The Commands....183

12: Docker and WebAssembly....184

Pre-reqs....185

Intro to Wasm and Wasm containers....187

Write a Wasm app....188

Containerize a Wasm app....190

Run a Wasm container....192

Clean up....193

Chapter summary....193

13: Docker Networking....195

Docker Networking – The TLDR....196

Docker networking theory....196

Single-host bridge networks....200

External access via port mappings....207

Docker Networking – The Commands....221

14: Docker overlay networking....223

Docker overlay networking – The TLDR....223

Docker overlay networking history....223

Building and testing Docker overlay networks....224

Overlay networks explained....231

Docker overlay networking – The commands....236

15: Volumes and persistent data....238

Volumes and persistent data – The TLDR....238

Containers without volumes....239

Containers with volumes....240

Volumes and persistent data – The Commands....247

16: Docker security....249

Docker security – The TLDR....249

Kernel Namespaces....250

Control Groups....253

Capabilities....253

Mandatory Access Control systems....254

seccomp....254

Docker security technologies....255

Swarm security....255

Docker Scout and vulnerability scanning....262

Signing and verifying images with Docker Content Trust....265

Docker Secrets....268

What next....271

Terminology....273

Index....280

Docker Deep Dive (2025 Edition) - The best Docker book just got even better!

The #1 best-selling and most comprehensive Docker book - fully updated for 2025 and the BRAND-NEW Docker Model Runner!

For nearly a decade, Docker Deep Dive has been the go-to guide for developers and IT professionals looking to master Docker. With more reviews than any other Docker book and a track record as the most popular Docker book on the market, this Amazon bestseller is your ultimate resource for mastering Docker.

What's New in the May 2025 Edition?

This latest edition is fully updated with cutting-edge advancements in the Docker ecosystem, including:

✅ Docker Model Runner (local LLMs with Docker) - The easiest way to run local LLMs fully integrated with the Docker toolchain and ecosystem

✅ Wasm containers (WebAssembly) - The future of fast, portable, high-performance workloads

✅ Multi-container LLM chatbot apps - Deploy and manage AI-powered chatbots with Docker Compose & Ollama

✅ Professional development environment, app templates, debugging, and vulnerability scanning, with Docker Desktop, Docker Init, Docker Debug, and Docker Scout

The demand for Docker expertise is skyrocketing as organizations build cloud-native and AI-powered applications. Whether you're deploying apps locally or in the cloud, and if you need to run local LLMs, this book equips you with everything you need to succeed in the real world.

What You'll Learn:

✔ Set up a professional Docker development environment - for free

✔ Create and manage containerized applications from scratch

✔ Build and share container images using Docker Hub

✔ Deploy and orchestrate multi-container apps with Docker Compose & Swarm

✔ Run local LLMs fast on CPUs and GPUs

✔ Create Wasm apps, build them as Docker containers, and run them with Docker

✔ Deploy and manage LLM chatbots with Docker Compose

✔ Create production-ready images that run on x86 and ARM

✔ Easy and powerful debugging with Docker Debug

✔ Vulnerability scanning with Docker Scout

✔ Leverage the latest Docker technologies, including Docker Desktop, Docker Debug, Docker Init, Docker Scout, and more

Whether you're a beginner looking for a step-by-step guide or an experienced developer who wants to stay ahead of the curve, Docker Deep Dive (2025 Edition) is the ultimate resource for mastering Docker.

Get your copy today and take your container skills to the next level!


Похожее:

Список отзывов:

Нет отзывов к книге.