Docker
From a Dockerfile to an isolated process on a hardened host, Docker as told through the free samples of the Leanpub books about building images and running containers.
Created from the free samples of 18 Leanpub books and the descriptions and tables of contents of 27 more, with every source cited.
Docker is a set of tools for packaging an application, together with the libraries and files it needs, into an image, and for running that image as a container: an ordinary process that the operating system keeps apart from the rest of the machine. It was released as open source in 2013. The isolation was already in the Linux kernel; what Docker added was a build file, a format for distributing the result and a command line that a developer could use without knowing how the kernel did it. One of the sources places the value less in fast start-up than in the fact that one reviewed artefact moves unchanged through development, testing and deployment.[1]
More than a decade later Docker is closer to plumbing than to news. The engine has been divided into parts with published specifications, the image format is a standard that other tools build and run, and clusters of machines are mostly managed by Kubernetes. Docker is still where most developers meet containers, on a laptop, in a Compose file that starts a whole stack, and in the build step of a delivery pipeline. The books of 2025 and 2026 reflect what is now asked of it: images for more than one processor architecture, containers that do not run as root, a host whose daemon is treated as a privileged service, and language models run locally beside the application.
This article covers how Docker works, images and Dockerfiles, running containers, Compose and the development environment, the Docker host, security, and what lies beyond a single machine. Its sources are the free samples of 18 Leanpub books and the public descriptions and tables of contents of 27 more. Where a sample says something, it is cited; where a book has no sample, it is cited only for what its description and contents list say, and the note in the Sources list says so. Kubernetes has its own article.
Where to start
A reader with no background has several short routes. Getting Started with Docker assumes no experience and goes from what a container is to a multi-container application in eight chapters,[20] Docker: Once Upon A Time is a 2026 course with practice exercises and their answers in every chapter,[22] and Learn Docker - .NET Core, Java, Node.JS, PHP or Python, from 2020, aims at a first containerised application within a week.[24] Docker A Complete Visual Guide asks for basic use of the Linux command line and explains each mechanism with a diagram and a command that checks the result.[1] The longer general treatments are Docker Deep Dive, whose 2025 edition has a short overview part and a technical part,[19] and Painless Docker, which begins with the history of container runtimes and ends with security and the Docker API.[21]
Developers who want Docker as a working environment for their own stack can start from that stack: Docker for PHP Developers, Second Edition. for PHP,[5] Docker for React.js developers for front-end work,[2] No More Localhost. Mastering Docker, Linux, and Containerization for JS & AI Apps for full-stack JavaScript,[28] and Docker for Web Developers or Book for Beginner Web Developers in Docker for web development in general.[4][27]
Some sources say or imply that they come second. The 2017 Docker Recipes for Node.js Development states that it is not for people new to Docker,[8] Docker Container Security & Rootless Engineering expects working knowledge of Docker and of Python web services,[3] the 2018 Docker Security - Quick Reference is for engineers who already run Docker and want to harden it,[31] and Understand Container is for readers who use containers and want the mechanics.[32]
History
A 2017 guide to a competing platform describes the road that led to containers: software was first installed with a package manager and configured by hand, then configuration management tools did the same work repeatably across many servers, and then containers made it possible to start and discard a service without configuring a server at all.[13] The same guide calls containers very lightweight virtual machines,[13] a shorthand of the period that the newer books begin by correcting. A web development course explains what virtual machines had failed to give developers: the disk images were large and hard to copy, each copy drifted as it was updated, and every one ran a whole operating system on emulated hardware.[4]
The first years were spent getting Docker onto developers' own machines. The engine needs a Linux kernel, so Mac and Windows users ran it inside a virtual machine through a separate toolbox until native applications arrived in 2016, and a book last published in 2017 documents both, along with the split that year into community and enterprise editions and a new version numbering scheme.[6] A PHP author adds that Compose began as an outside project called fig before it became the official tool.[5] The teaching was uneven too. The author of the web development course says he tried Docker in 2016, gave up, and came back three years later, and that tutorials of the time assumed the jargon and often claimed that every code change needed a slow rebuild.[4]
Since then the engine has been taken apart into standard pieces. Painless Docker covers the runtime stack and the specifications of the Open Container Initiative,[21] the 2019 Understand Container starts from those specifications and not from Docker commands,[32] and the 2019 podman buildah skopeo runc introduces tools that build and run the same images without Docker.[33] The command line changed as well: a 2018 book of exercises already uses commands grouped by the object they act on,[7] a 2020 book still runs Compose as a separate program,[5] and a 2026 one installs Compose and the build tool as plugins and notes that fresh installations of Docker Engine 29 keep images in the containerd store by default.[1]
How Docker works
The sources that explain Docker, as distinct from listing its commands, start from one statement: a container is a process.
A process, not a machine
Docker A Complete Visual Guide sets an ordinary process, a container and a virtual machine side by side. The container starts from an image's filesystem and sees only its own processes, mounts, network and host name, but it shares the host's kernel, where a virtual machine boots a kernel of its own.[1] That explains both the speed and the limits: a virtual machine remains the better boundary when workloads need different kernels or stronger separation between tenants who do not trust each other, and the two are often combined, with Docker running inside virtual machines.[1]
The 2017 Docker for Developers shows the same thing with one experiment. A CentOS image is run on an Ubuntu host, and the shell inside reports CentOS, because the process has been pointed at CentOS's files and libraries; no second operating system was started, and a process listing inside the container shows only the shell and the listing command.[6] The visual guide's version of the exercise compares process numbers: the container's first process is number 1 inside and has a different number on the host, and both report the same kernel release.[1]
Desktop installations are the exception that confuses beginners. On macOS and Windows, Linux containers run inside a managed Linux virtual machine and share that machine's kernel, which changes how paths, networking, resource limits and file sharing behave.[1]
From the command to the kernel
The docker command is a client. It sends requests to a daemon, which is the privileged service that manages images and containers; the daemon hands the container's lifecycle to containerd, and a low-level runtime, runc by default, creates the isolated process according to an open specification.[1] Builds take a similar path, from the client through the daemon to BuildKit, which reads the Dockerfile and produces the image layer by layer.[2]
Two kernel features do the work. Namespaces give a process its own view of process numbers, mount points, network interfaces, host name, inter-process communication and user identifiers; control groups account for and limit the processor time, memory and number of processes a group may use. The visual guide's summary is that namespaces decide what a process can see and control groups how much it can consume, and it warns that a container started without explicit limits can compete for most of the host's resources.[1] Understand Container assembles a container from these features one at a time, adding capabilities, a changed root filesystem, user namespaces and bridge networking.[32]
What a container does not give
The visual guide lists four beliefs that cause failures in operation. Containers are not stateless: they write to a layer that belongs to one container and should not be treated as durable storage. An image does not contain a kernel. A container that is running is not necessarily healthy, since Docker reports only that its main process is alive. And the same image does not behave identically everywhere, because architecture, kernel features, mounted files, environment, name resolution and available memory all differ between hosts.[1]
The same chapter says where Docker is the wrong tool: a simple host utility may be easier to install as a package, a kernel module does not become portable by being placed in a container, and a boundary between tenants that must be high-assurance may need separate virtual machines. Its checklist before containerising anything asks which data must outlive the container, which ports and host paths it needs, how it reports health and how it responds to a termination signal.[1]
Images
Kubernetes: The Complete Story introduces Docker through four abstractions, images, the Dockerfile, containers and registries,[15] and three of the four concern the image.
Layers
An image is to a container what an executable file is to a running program, so several containers can run from one image at once.[7] It holds the application, its dependencies and a minimal set of operating system files, and nothing else: the base image of one small Linux distribution is about seven megabytes, and many images carry no shell or package manager.[2] Images for Windows containers are commonly several gigabytes.[2]
An image is a stack of read-only layers, each the result of one instruction in the Dockerfile. Layers are cached, so an unchanged step is not rebuilt, and shared, so two images on the same base store it once; a history command shows the instruction and size behind each layer, which is where an image that has grown too large is diagnosed.[2] Removing an image removes its name first and its layers only when no other image uses them, and Docker refuses to remove one that a container still depends on.[2]
Names, tags and registries
Images are distributed through registries. Docker Hub is the default; the cloud providers each run one, and organisations run private registries for control over what their systems pull.[2] A full image name is a repository and a tag, with a registry address and an account in front when the image is not an official one.[2]
The tag is where Docker for React.js developers spends most care. Leaving it out means "latest", which is only a label and may not point at the newest version, and several tags can name the same image. Its advice is to pin an exact version: the same Dockerfile then builds the same image next year, two servers pulling a week apart get the same runtime, a regression can be traced to a known base, an audit can say which image was used, and the build cache is not invalidated by a tag that moved.[2]
Images also take space. A 2020 book warns that some weigh a gigabyte or more and that a small server's disk fills up,[9] and the front-end book shows the safe clean-up, which removes only images that no container uses.[2] The visual guide adds that a full disk should not be met first with the command that deletes everything unused, volumes included, before anyone has checked which volumes hold data.[1]
Images for more than one architecture
Laptops with ARM processors and servers with x86 ones made a single tag ambiguous. A multi-architecture image solves this with a manifest list: one tag stands for several builds, and the client downloads the list, finds the entry for its own platform and pulls only those layers, so the same command works on both machines.[2] Building one is a matter of naming the target platforms to the build tool and pushing the result, which publishes every variant and the list together.[2] The general introductions of 2025 and 2026 have added the subject to their chapters on images and builds.[19][20][22]
Writing a Dockerfile
A Dockerfile begins by naming a base image, which Docker for PHP Developers, Second Edition. compares to inheriting from a class: the official PHP image has already installed the web server and compiled PHP, and the project's file adds only its own code and settings.[5] The 2018 DevOps Katas has the reader make an image both ways, first by changing a running container and committing it, then from a Dockerfile, and prefers the second because the file can be kept in source control and used by an automated build.[7] It also explains details that trip beginners: several shell commands are chained in one instruction so that they produce one layer, declaring a port in the file does not publish it, and only the last start command in a file takes effect.[7]
Order matters for two reasons. Copying the dependency manifest and installing dependencies before copying the source lets the cache skip the installation when only the code has changed, and switching to an unprivileged user has to come after everything that needs root.[3] The base matters for size: the 2019 Dockerfile builds the same servers on four Linux distributions and compares the results with one another and with the official images,[30] and the front-end book's next chapter is about choosing among the minimal, slim and full variants of one runtime's image.[2]
Multi-stage builds, in which one stage compiles and a later one copies only the output, appear in most of the newer tables of contents, for five language stacks in Learn Docker - .NET Core, Java, Node.JS, PHP or Python,[24] for JavaScript in No More Localhost. Mastering Docker, Linux, and Containerization for JS & AI Apps,[28] for Python in Cloud-Native Python, DevOps & LLMOps. Containerization, Kubernetes, and Serving AI Models at Scale[29] and for Java, .NET and Python in the seventeen pages of Docker & Kubernetes.[36] Docker for Developers, from 2020, has an appendix on linting Dockerfiles.[23]
Running containers
Most of what a newcomer finds surprising about a running container follows from its being one process with its own view of the system.
Lifecycle and inspection
A container lives as long as its start process. The first exercise in DevOps Katas runs a test image and then lists the running containers, and the list is empty, because the process printed its message and exited; the stopped container is still there and appears when all containers are listed.[7] The same exercises name containers so that later commands can refer to them, show that the first few characters of an identifier are enough, and open an interactive shell in a container.[7] The PHP book says that running a shell in a container feels like a remote login but is nothing of the kind.[5]
The short references reduce the lifecycle to a handful of commands. The sample of the six-page The Production-Ready Docker & Linux Pocket Guide lists build, run, list, follow the logs, stop and remove.[14] When something fails, the front-end book's sequence is to read the logs, open a shell in the container or start a throwaway one from the image, inspect the image's start command, environment and ports, and rebuild without the cache if a stale layer is suspected.[2] Docker Combat Guide (2022) has a troubleshooting section and gives about a fifth of its length to driving Docker from Python through the SDK.[26]
Ports and networks
A container has its own network space: it can reach the outside world, but the outside world cannot reach it until a port is published.[6] The katas run one web server with host port 80 mapped to the container's port 80 and a second copy of the same image on host port 81, to show that the container's port is fixed by the image and the host's is the operator's choice.[7] The visual guide publishes its test server on the loopback address only, and warns that published ports interact with the host's firewall differently from ordinary services, so the effective path has to be tested.[1]
Containers that work together are put on a network of their own. Two Go books by one author create a bridge network with a single command and start the database, the cache and the application on it, where each finds the others by container name.[10][9] The web development course points out the security benefit: a database can be reachable from the application's container without being exposed to the host or beyond.[4]
Data
Because an image cannot be changed and a container's own changes are lost with it, data that matters lives outside. The 2017 Docker Recipes for Node.js Development treats the developer's case: a folder on the host is mounted over the application's folder in the container, so code edited in any editor is seen at once inside. The host path has to be absolute, since anything else is taken as the name of a volume managed by Docker, and the book notes that such mounts are slow on Windows and macOS.[8]
For a database the mount is what keeps the data. A 2020 book starts MySQL with its data directory on the host and backs up a self-hosted Git service by stopping its container, archiving the directory and starting it again.[9] The visual guide is stricter about what counts: copying a live database's files is not a verified backup, and removing the Docker packages does not remove the images, containers and volumes under its data directories.[1] Mounted directories are also the usual first failure after a container stops running as root, because the directory on the host belongs to root and the process no longer does.[3]
Compose and the development environment
Most of the Docker books in the library are written for developers, and their subject is less Docker than a working day spent with it.
Compose
Compose describes an application of several containers in one file. Docker for PHP Developers, Second Edition. introduces it by rewriting a run command as a service with a build path and a list of ports, after which anyone with the project starts it with one command and removes its containers, networks and volumes with another; the author calls it one of his breakthroughs in learning Docker.[5] Book for Beginner Web Developers in Docker covers the watch feature, which copies code changes into a running container.[27]
A Compose file is also a way of shipping something whole. Using WordPress on AWS Lightsail and Docker runs WordPress and its database from one file, first on a desktop and then on a small cloud server,[35] and Open Source Network Management assembles a network management stack of half a dozen tools on a single host the same way.[38] An older route to the same end survives in a 2018 book on log management, which starts its three containers from the provisioning script of a virtual machine and leaves Docker itself to its appendices.[12] The newest example is a hardened file: a fixed unprivileged user, a read-only filesystem, no added privileges, processor and memory limits and a health check, all declared beside the service.[3]
Working in a language stack
The case for Docker in development is made most fully by Docker for Web Developers: a new colleague's machine differs from the author's in operating system, runtime version and database version, and a container removes the difference, while also letting two versions of one database run side by side.[4] The PHP book sets Docker beside the virtual machine tool it replaced for many teams and prefers containers for starting in seconds and for shipping to production the image used on the laptop; it keeps to development on purpose and gives deployment one chapter.[5]
Each stack has its own friction. For Node.js the 2017 recipes cover attaching an editor's debugger to a process inside a container, which means exposing the debugger's port and sending the process the signal that starts it, and wrapping long commands as project scripts so that nobody types them.[8] A Go author wraps the official image in a script that stands in for the compiler, so nothing is installed on the host, and notes that containers suit tests that need a database created, filled and thrown away.[10] His later book runs the whole build as pipeline steps inside a build image, so that one command reproduces the continuous integration run on a laptop.[11] No More Localhost. Mastering Docker, Linux, and Containerization for JS & AI Apps has chapters on development containers and on a framework's standalone output,[28] and Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python repeats its author's exercises for five stacks before turning to clusters.[25]
Three of the books use the twelve-factor methodology as their outline for containerising an application: one gives each factor a chapter,[9] one organises a chapter under the twelve headings,[23] and one closes by mapping the factors to containers.[6]
The Docker host
The second chapter of Docker A Complete Visual Guide is about the machine that runs the daemon, a subject the developer books pass over. Its position is that installation is not finished when a test container prints its message; it is finished when the operators know which daemon they are controlling and have recorded the characteristics of the host that affect every container.[1]
The first decision is the operating model: a daemon running as root on Linux, which is the most compatible; rootless mode, in which the daemon and its containers run without root on the host, at the cost of differences in networking, storage and some resource controls; a desktop installation with its built-in virtual machine; or a dedicated virtual machine around a root daemon. The book calls rootless mode an architectural choice and not a setting to add afterwards.[1] It recommends installing from the vendor's package repository with a pinned, approved version, keeps the convenience script for short-lived test machines, and advises against mixing package families.[1] A 2017 book installs with that same script and describes Docker's own installer for a cloud server as a few clicks,[6] and a 2020 one suggests at least thirty gigabytes of disk for such a server.[9]
The rest of the chapter is a baseline to record: client and server versions, the active context, the control group version, the image store and where it keeps data, free space and free inodes, the firewall backend, name resolution and proxy settings.[1] Diagnosis then works by comparison and by layer. A client that cannot connect may be pointed at the wrong daemon or at a stopped one, and a registry that answers with an authentication error has proved that name resolution, the connection and encryption all work.[1] For keeping services up on a single host, the Go books use the restart policy, which starts a container again after a crash or a reboot, as their process manager.[9][10]
Security
Security in the sources has two halves: who may talk to the daemon, and what a container may do once it runs.
The daemon and its socket
The daemon normally runs as root, and its local socket accepts requests to create privileged containers and to mount the host's filesystem, so anyone who can write to that socket in effect controls the host.[1] The 2017 Docker for Developers adds its reader to the docker group so that commands need no elevated rights;[6] the 2026 visual guide describes that membership as privileged host access and prefers a small set of administrators, an audited account, or rootless mode where it fits, and says the daemon's interface must never be exposed on a network without authentication.[1]
Hardening a container
Docker Container Security & Rootless Engineering narrows the subject to one task, taking a Python web service off root. Its argument is that namespaces isolate a process but a root process inside a container keeps elevated capabilities, so a flaw in the application or a dependency leaves an attacker much closer to the host.[3] The remedy is a dedicated user with a fixed numeric identifier, created in the Dockerfile and selected as its last step, a check that the image really starts as that user, and a pipeline job that fails the build if it does not.[3] Its title says rootless, but the guide is about the user inside the container, which is a different thing from the rootless daemon of the previous section.
The runtime settings follow the principle of least privilege: a read-only root filesystem with a small temporary area in memory, every Linux capability dropped, a flag that stops a process gaining privileges, and a limit on the number of processes.[3] The guide ends with health checks, and separates a check that the process is alive from a check that it can serve, since a liveness check that depends on the database restarts every container at once when the database falters.[3]
Reference works and scanning
The 2018 Docker Security - Quick Reference goes through Docker's isolation mechanisms one at a time, namespaces, control groups, capabilities, Linux security modules and system call filtering, giving the risks of each default and then the countermeasures.[31] The same material forms part of Holistic InfoSec For Web Developers, Fascicle 1: VPS, Network, Cloud and Web Applications, a 2019 security book that applies one sequence to every area: assets, risks, countermeasures, the risks the countermeasures introduce, and costs.[37]
Image scanning and the software supply chain are in the contents of most recent books, among them No More Localhost. Mastering Docker, Linux, and Containerization for JS & AI Apps,[28] Docker for React.js developers[2] and Docker Deep Dive,[19] and a Go book of 2020 has a chapter on building images with security in mind.[11] Painless Docker gives separate chapters to threats and to practices.[21]
Beyond one machine
Docker on a single host does not schedule containers across machines or move them when one fails, and the visual guide names that as the point at which an orchestrator becomes relevant.[1]
Swarm
Docker's own orchestrator is Swarm, and the books of 2017 to 2020 teach it as the natural next step: the 2017 developer book deploys its application to Swarm mode,[6] the twelve-factor book uses it for scaling and rolling updates,[9] and the long general guides keep a chapter on it.[21][19] Funky Penguin's Geek's Cookbook treats a highly available Swarm with shared storage as a platform for self-hosting, with one recipe per application,[34] and Mastering Hyperledger Fabric runs the same blockchain network on plain Docker, on Swarm and on Kubernetes.[39] The 2017 platform guide already reported the view that Swarm struggled at scale and with complex requirements, while saying that no choice among the orchestrators of the day was wrong.[13]
Kubernetes and cloud services
Most readers who outgrow one host now go to Kubernetes, and several books make the passage in one volume: Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python gives its first half to Docker and its second to clusters,[25] and Docker & Kubernetes carries two servers from a first container to a deployment.[36] The Kubernetes books assume the Docker ground or review it: Master Kubernetes from Scratch lists Docker among its prerequisites,[43] Kubernetes: The Complete Story spends part of its first chapter on images, Dockerfiles and registries before posing the orchestration problem,[15] and Kubernetes: Once Upon A Time and The Kubernetes Book are full-length treatments for what follows.[44][45]
The other exit is a cloud service that runs a container without a cluster to manage. Docker: Once Upon A Time has a chapter on deploying to three such services,[22] and Serverless 101 - Essential Patterns for Data Scientist covers custom images for serverless functions that serve machine learning models.[40]
Docker in other toolchains
Elsewhere Docker is one chapter among many. The 2016 API-Driven DevOps looks at it through its remote API and the tools built on that,[41] the 2018 Continuous Delivery for Java Apps: Kubernetes and Jenkins in Practice gives it a section in a pipeline for a Java application,[17] and The Journey to DevOps places it between Linux and Kubernetes in a developer's introduction to operations.[16] Deep Learning in Production reaches it in the deployment chapter of a book on machine learning engineering,[18] and Building reproducible analytical pipelines with R uses it as the last step in making a statistical analysis reproducible.[42]
Local AI models
The newest chapters are about language models. The 2025 editions of Getting Started with Docker and Docker Deep Dive add Docker's tool for running models locally, the first with a chatbot deployed through Compose.[20][19] No More Localhost. Mastering Docker, Linux, and Containerization for JS & AI Apps runs a local model server beside a web application and passes a graphics processor through to the container,[28] and Cloud-Native Python, DevOps & LLMOps. Containerization, Kubernetes, and Serving AI Models at Scale covers containers with GPU access on the way to serving models at scale.[29]
Questions about Docker
Which Docker book should I start with?
Getting Started with Docker assumes no experience and reaches a multi-container application in eight chapters,[20] and Docker A Complete Visual Guide explains each mechanism with a diagram and a command that checks the result.[1] Docker Deep Dive is the longer general treatment,[19] and developers can also begin from their own stack, with Docker for PHP Developers, Second Edition. or Docker for React.js developers.[5][2]
Is a Docker container a virtual machine?
Why should I avoid the latest tag?
The latest tag is only a label, used when no tag is given, and it may not point at the newest version.[2] Pinning an exact version means the same Dockerfile builds the same image later, servers that pull at different times get the same runtime, and a regression can be traced to a known base image.[2]
How do I edit code that runs inside a container?
Why should a container not run as root?
Is membership of the docker group the same as root access?
Sources
Every source is a Leanpub book or course. The note after each says which part of it was read; where no sample was available, only the public description and table of contents were used.
- 1.Docker A Complete Visual Guide, Reiner Braun: A Practical Visual Guide Free sample: the introduction and chapters 1 and 2 (what Docker solves, the process model, installing and validating a host). 2026. Free sample: PDF · EPUB
- 2.Docker for React.js developers, Kristiyan Velkov Free sample: chapter 7, on images (layers, registries, tags, multi-architecture images, clean-up and debugging). 2026. Free sample: PDF
- 3.Docker Container Security & Rootless Engineering, AhmedAdawy: Rootless Engineering & Production Hardening Free sample: what appears to be the whole nine-page guide (non-root Dockerfile, runtime hardening, a pipeline check, Compose, health checks). 2026. Free sample: PDF
- 4.Docker for Web Developers, Craig Buckler: A concise, practical, and easy-to-follow guide showing how Docker can quickly create web development environments on Windows, macOS, or Linux. Free sample: the contents, the preface and the start of chapter 1 (why Docker for web development). 2021. Free sample: PDF
- 5.Docker for PHP Developers, Second Edition., Paul Redmond: A guide to using Docker for PHP development Free sample: the introduction and chapter 2 (a first Dockerfile, a first Compose file, changing PHP settings). 2020. Free sample: PDF · EPUB
- 6.Docker for Developers, Chris Tankersley Free sample: the chapter on installing Docker, running a first container and how containers work. 2017. Free sample: PDF · EPUB
- 7.DevOps Katas, Dave Swersky: Hands-On DevOps Free sample: Docker katas 1, 4 and 6 (basic commands, a web server with published ports, creating images). 2018. Free sample: PDF · EPUB
- 8.Docker Recipes for Node.js Development, River Bailey: Solve common problems with simple solutions for Node.js in Docker! Free sample: the preface and recipes 4, 8 and 13 (volume mounts, debugging, wrapping commands); the book is unfinished. 2017. Free sample: PDF · EPUB
- 9.12 Factor Applications with Docker and Go, Tit Petric: A book filled with examples on how to use Docker and Go to create the ultimate 12 Factor applications Free sample: the introduction, the requirements (a server, a bridge network, MySQL) and the first factor, with a self-hosted Git service. 2020. Free sample: PDF · EPUB
- 10.API foundations in Go, Tit Petric: You've mastered PHP and are looking at Node.js? Skip it and try Go. Free sample: the introduction, the Docker-based environment and the opening of the chapter on data structures. 2019. Free sample: PDF · EPUB
- 11.Advent of Go Microservices, Tit Petric Free sample: the introduction, the requirements and the first chapters on protobuf and a build image. 2020. Free sample: PDF · EPUB
- 13.Getting Started with DC/OS, Tom Barber Free sample: the introduction (background, Apache Mesos, the orchestrators of 2016). 2017. Free sample: PDF · EPUB
- 14.The Production-Ready Docker & Linux Pocket Guide, AhmedAdawy: An Essential Reference for Developers, Students, and DevOps Engineers Free sample: the Linux commands and the Docker command sheet; three of five parts are in the full edition only. 2026. Free sample: PDF
- 15.Kubernetes: The Complete Story, Vamsikrishna Vankayala Free sample: the foreword and most of chapter 1, which includes a section on Docker basics. 2026. Free sample: PDF
- 16.The Journey to DevOps, Harry Yan: A Practical Guide for Software Engineers and Enthusiasts Free sample: the front matter, contents and preface; the Docker chapter is not in the sample. 2024. Free sample: PDF
- 17.Continuous Delivery for Java Apps: Kubernetes and Jenkins in Practice, Jorge Acetozi: Build a CD Pipeline Step by Step Using Kubernetes, Docker, Vagrant, Jenkins, Spring, Maven and Artifactory Free sample: the opening chapters on Agile and continuous delivery; the Docker section is not in the sample. 2018. Free sample: PDF · EPUB
- 18.Deep Learning in Production, Sergios Karagiannakos Free sample: chapter 4, on structuring deep learning code; the Docker section is not in the sample. 2022. Free sample: PDF
- 19.Docker Deep Dive, Nigel Poulton: Zero to Docker in a single book! No sample: from the description and table of contents. 2025.
- 20.Getting Started with Docker, Nigel Poulton No sample: from the description and table of contents. 2025.
- 21.Painless Docker, Aymen El Amri: Unlock the Power of Docker and its Ecosystem No sample: from the description and table of contents. 2023.
- 22.Docker: Once Upon A Time, Manuel Morejón: Create, Share, and Run Modern Applications No sample: from the description and table of contents. 2026.
- 23.Docker for Developers, Rafael Gomes No sample: from the description and table of contents; the description calls it a preliminary version. 2020.
- 24.Learn Docker - .NET Core, Java, Node.JS, PHP or Python, Arnaud Weil: Be ready to create and run your containerized application next week. No sample: from the description and table of contents. 2020.
- 25.Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python, Arnaud Weil: Be ready to create and run your containerized and orchestrated application next week. No sample: from the description and table of contents; the Docker half overlaps the same author's Docker book. 2021.
- 26.Docker Combat Guide (2022), Carles Mateo: The Docker Guide for Software Developers No sample: from the description and table of contents. 2022.
- 27.Book for Beginner Web Developers in Docker, Andrés Cruz Yoris: Learn how to use Docker in your web projects using Laravel, FastAPI, Django, CodeIgniter, and more No sample: from the description alone. 2026.
- 28.No More Localhost. Mastering Docker, Linux, and Containerization for JS & AI Apps, Edgar Milvus No sample: from the description, which lists the chapters. 2026.
- 29.Cloud-Native Python, DevOps & LLMOps. Containerization, Kubernetes, and Serving AI Models at Scale, Edgar Milvus: From Docker and Kubernetes to Serving LLMs with Pulumi No sample: from the description and table of contents; Docker is about a quarter of the book. 2026.
- 30.Dockerfile, Anish Nath: Write Dockerfile Following best practices No sample: from the description and table of contents; the book is 53 pages. 2019.
- 31.Docker Security - Quick Reference, Kim Carter: For DevOps Engineers No sample: from the description and table of contents. 2018.
- 32.Understand Container, Bin Chen No sample: from the description and table of contents; the book is 53 pages. 2019.
- 33.podman buildah skopeo runc, Anish Nath: The next-Gen in Container technology No sample: from the description and table of contents; the book is 40 pages. 2019.
- 34.Funky Penguin's Geek's Cookbook, David Young: Recipes for upgrading your (geek) life No sample: from the description and table of contents. 2020.
- 35.Using WordPress on AWS Lightsail and Docker, Adam Craig Johnston: A Practical Guide to WordPress, Docker on AWS Lightsail (Early Access Edition) No sample: from the description and table of contents; an early access edition. 2026.
- 36.Docker & Kubernetes, Sudhanshu Jaiswal: A Beginner's HandsOn Guide No sample: from the description and table of contents; the book is 17 pages. 2026.
- 37.Holistic InfoSec For Web Developers, Fascicle 1: VPS, Network, Cloud and Web Applications, Kim Carter: Creating and maintaining robust technical solutions that will resist attacks from your adversaries No sample: from the table of contents; Docker is one part of a general security book. 2019.
- 38.Open Source Network Management, Josh VanDeraa: A step-by-step guide for getting started with open source network management tools. No sample: from the description and table of contents. 2022.
- 39.Mastering Hyperledger Fabric, Narendranath Reddy: Master The Art of Hyperledger fabric on docker, docker swarm and Kubernetes No sample: from the description, which lists the chapters. 2022.
- 40.Serverless 101 - Essential Patterns for Data Scientist, Konrad Semsch: Hands-on guideline on deploying applications using serverless.com for data scientists No sample: from the description and table of contents; Docker images are one chapter of four. 2022.
- 41.API-Driven DevOps, Nordic APIs: Strategies for Continuous Deployment No sample: from the description and table of contents; three chapters concern Docker. 2016.
- 42.Building reproducible analytical pipelines with R, Bruno Rodrigues, Phd No sample: from the description and table of contents; Docker is one chapter. 2023.
- 43.Master Kubernetes from Scratch, Kirshi Yin | Curious Devs Corner: Kubernetes Tutorial PDF for Beginners No sample: from the description and table of contents. 2025.
- 44.Kubernetes: Once Upon A Time, Manuel Morejón: Container Orchestration No sample: from the description and table of contents. 2026.
- 45.
Further reading
Other books in the library on the same ground, not cited above.
- The Kubernetes CourseCourse, Nigel Poulton A course on Kubernetes from architecture to security, built on a book cited above. 2025.
- Cloud Native Microservices With Kubernetes, Aymen El Amri: A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes Building, deploying and observing microservices on Kubernetes, with containers as the unit throughout. 2024.
- Kubernetes for DevOps, Anish Nath Kubernetes walkthroughs that begin with ingress, certificates and delivery before the core objects. 2019. Free sample: PDF · EPUB
- Success your LPI 701 DevOps Tools engineer exam, Radhouen Assakra A preparation guide for a DevOps tools certification whose syllabus includes containers. 2023.
- Enterprise Development with Raspberry Pi, Sergiy Pylypets An enterprise Java stack, with containers and a Kubernetes cluster, run on Raspberry Pi boards. 2026. Free sample: PDF