Docker Deep Dive
Docker Deep Dive
Zero to Docker in a single book!
About the Book
Starting from scratch, you'll learn what containers are, how to start them, stop them, and delete them. You'll learn how to run applications in them and manage it all at scale. You'll also learn the theory of how it all works and plugs together behind the scenes so that you don't just know the right commands, but you also know what's going on behind the scenes.
The book is up to date with all of the latest core technologies from Docker, Inc.
Translations
Bundles that include this book
Table of Contents
-
- 0: About the book
-
Part 1: The big picture stuff
-
1: Containers from 30,000 feet
- The bad old days
- Hello VMware!
- VMwarts
- Hello Containers!
- Linux containers
- Hello Docker!
- Docker and Windows
- What about WebAssembly
- What about Kubernetes
-
2: Docker and container-related standards and projects
- Docker
- Container-related standards and projects
-
3: Getting Docker
- Docker Desktop
- Installing Docker with Multipass
- Installing Docker on Linux
-
4: The big picture
- The Ops Perspective
- The Dev Perspective
-
1: Containers from 30,000 feet
-
Part 2: The technical stuff
-
5: The Docker Engine
- Docker Engine – The TLDR
- The Docker Engine
- The influence of the Open Container Initiative (OCI)
- runc
- containerd
- Starting a new container (example)
- What’s the shim all about?
- How it’s implemented on Linux
-
6: Working with Images
- Docker images – The TLDR
- Intro to images
- Pulling images
- Image registries
- Image naming and tagging
- Images and layers
- Pulling images by digest
- Multi-architecture images
- Vulnerability scanning with Docker Scout
- Deleting Images
- Images – The commands
-
7: Working with containers
- Containers – The TLDR
- Containers vs VMs
- Images and Containers
- Check Docker is running
- Starting a container
- How containers start apps
- Connecting to a container
- Inspecting container processes
-
The
docker inspect
command - Writing data to a container
- Stopping, restarting, and deleting a container
- Killing a container’s main process
- Debugging slim images and containers with Docker Debug
- Self-healing containers with restart policies
- Containers – The commands
-
8: Containerizing an app
- Containerizing an app – The TLDR
- Containerize a single-container app
- Moving to production with multi-stage builds
- Buildx, BuildKit, drivers, and Build Cloud
- Multi-architecture builds
- A few good practices
- Containerizing an app – The commands
-
9: Multi-container apps with Compose
- Docker Compose – The TLDR
- Compose background
- Installing Compose
- The sample app
- Compose files
- Deploying apps with Compose – The commands
-
10: Docker Swarm
- Docker Swarm – The TLDR
- Swarm primer
- Build a secure swarm cluster
- Docker Swarm – The Commands
-
11: Deploying apps with Docker Stacks
- Deploying apps with Docker Stacks – The TLDR
- Build a Swarm lab
- The sample app
- Deploy the app
- Managing the app
- Deploying apps with Docker Stacks – The Commands
-
12: Docker and WebAssembly
- Pre-reqs
- Intro to Wasm and Wasm containers
- Write a Wasm app
- Containerize a Wasm app
- Run a Wasm container
- Clean up
- Chapter summary
-
13: Docker Networking
- Docker Networking – The TLDR
- Docker networking theory
- Single-host bridge networks
- External access via port mappings
- Docker Networking – The Commands
-
14: Docker overlay networking
- Docker overlay networking – The TLDR
- Docker overlay networking history
- Building and testing Docker overlay networks
- Overlay networks explained
- Docker overlay networking – The commands
-
15: Volumes and persistent data
- Volumes and persistent data – The TLDR
- Containers without volumes
- Containers with volumes
- Volumes and persistent data – The Commands
-
16: Docker security
- Docker security – The TLDR
- Kernel Namespaces
- Control Groups
- Capabilities
- Mandatory Access Control systems
- seccomp
- Docker security technologies
- Swarm security
- Docker Scout and vulnerability scanning
- Signing and verifying images with Docker Content Trust
- Docker Secrets
- What next
- Terminology
- Index
-
5: The Docker Engine
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them