# yeasy/docker_practice architecture

> Architecture diagram of the GitHub repository yeasy/docker_practice, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yeasy/docker_practice
- Repository: https://github.com/yeasy/docker_practice

## Overview

This repository is a Chinese-language Docker learning book, not a Docker runtime. Its main user journey moves from installation and foundational concepts through image creation and container operation, then extends into deployment, internals, orchestration, security, and operations. The README documents these learning stages and capabilities; the sampled source also shows a tool for producing a paged, offline-capable HTML reader. The graph represents documented learning relationships, not runtime calls between chapters; source details for most chapter subsystems were not sampled.

Main entry points: [`01_introduction`](https://github.com/yeasy/docker_practice/tree/master/01_introduction) (Introduction), [`03_install`](https://github.com/yeasy/docker_practice/tree/master/03_install) (Installation), [`02_basic_concept`](https://github.com/yeasy/docker_practice/tree/master/02_basic_concept) (Core Concepts), [`04_image`](https://github.com/yeasy/docker_practice/tree/master/04_image) (Image Operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Core Learning"]
  node_intro["Introduction"]
  node_install["Installation"]
  node_concepts["Core Concepts"]
  node_images["Image Operations"]
  node_containers["Container Operations"]
  node_repositories["Image Repositories"]
end

subgraph group_application["Build And Operate"]
  node_dockerfile["Dockerfile Builds"]
  node_data["Data Management"]
  node_network["Networking"]
  node_buildx["Buildx"]
  node_compose["Compose"]
end

subgraph group_platform["Platform And Internals"]
  node_implementation["Engine Internals"]
  node_kubernetes["Kubernetes"]
  node_kube_setup["Cluster Setup"]
  node_etcd["etcd"]
  node_cloud["Cloud Platforms"]
  node_ecosystem["Container Ecosystem"]
end

subgraph group_practice["Operational Practice"]
  node_security["Security"]
  node_observability["Observability"]
  node_os_cases["OS Cases"]
  node_devops["DevOps Cases"]
end

subgraph group_reader["Reader Tooling"]
  node_html_reader["Paged HTML Reader"]
end

node_learner(("Learner"))
node_pandoc["Pandoc"]

node_learner -->|"starts with"| node_intro
node_intro -->|"learns installation"| node_install
node_install -->|"learns concepts"| node_concepts
node_concepts -->|"manages images"| node_images
node_images -->|"runs containers"| node_containers
node_containers -->|"uses repositories"| node_repositories
node_repositories -->|"builds images"| node_dockerfile
node_dockerfile -->|"configures data"| node_data
node_data -->|"configures networking"| node_network
node_network -->|"explores builds"| node_buildx
node_buildx -->|"manages applications"| node_compose
node_learner -->|"studies internals"| node_implementation
node_implementation -->|"explores orchestration"| node_kubernetes
node_kubernetes -->|"studies setup"| node_kube_setup
node_learner -->|"studies ecosystem"| node_etcd
node_learner -->|"studies cloud"| node_cloud
node_learner -->|"explores ecosystem"| node_ecosystem
node_learner -->|"studies security"| node_security
node_learner -->|"studies operations"| node_observability
node_learner -->|"reviews examples"| node_os_cases
node_learner -->|"reviews workflows"| node_devops
node_html_reader -->|"invokes"| node_pandoc

click node_intro "https://github.com/yeasy/docker_practice/tree/master/01_introduction"
click node_install "https://github.com/yeasy/docker_practice/tree/master/03_install"
click node_concepts "https://github.com/yeasy/docker_practice/tree/master/02_basic_concept"
click node_images "https://github.com/yeasy/docker_practice/tree/master/04_image"
click node_containers "https://github.com/yeasy/docker_practice/tree/master/05_container"
click node_repositories "https://github.com/yeasy/docker_practice/tree/master/06_repository"
click node_dockerfile "https://github.com/yeasy/docker_practice/tree/master/07_dockerfile"
click node_data "https://github.com/yeasy/docker_practice/tree/master/08_data"
click node_network "https://github.com/yeasy/docker_practice/tree/master/09_network"
click node_buildx "https://github.com/yeasy/docker_practice/tree/master/10_buildx"
click node_compose "https://github.com/yeasy/docker_practice/tree/master/11_compose"
click node_implementation "https://github.com/yeasy/docker_practice/tree/master/12_implementation"
click node_kubernetes "https://github.com/yeasy/docker_practice/tree/master/13_kubernetes_concepts"
click node_kube_setup "https://github.com/yeasy/docker_practice/tree/master/14_kubernetes_setup"
click node_etcd "https://github.com/yeasy/docker_practice/tree/master/15_etcd"
click node_cloud "https://github.com/yeasy/docker_practice/tree/master/16_cloud"
click node_ecosystem "https://github.com/yeasy/docker_practice/tree/master/17_ecosystem"
click node_security "https://github.com/yeasy/docker_practice/tree/master/18_security"
click node_observability "https://github.com/yeasy/docker_practice/tree/master/19_observability"
click node_os_cases "https://github.com/yeasy/docker_practice/tree/master/20_cases_os"
click node_devops "https://github.com/yeasy/docker_practice/tree/master/21_case_devops"
click node_html_reader "https://github.com/yeasy/docker_practice/blob/master/tools/build_html_reader.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_intro,node_install,node_concepts,node_images,node_containers,node_repositories toneBlue
class node_dockerfile,node_data,node_network,node_buildx,node_compose toneAmber
class node_implementation,node_kubernetes,node_kube_setup,node_etcd,node_cloud,node_ecosystem toneMint
class node_security,node_observability,node_os_cases,node_devops toneRose
class node_html_reader,node_learner,node_pandoc toneIndigo
```

## Components

### Core Learning

- [Introduction](https://github.com/yeasy/docker_practice/tree/master/01_introduction): `01_introduction`
- [Installation](https://github.com/yeasy/docker_practice/tree/master/03_install): `03_install`
- [Core Concepts](https://github.com/yeasy/docker_practice/tree/master/02_basic_concept): `02_basic_concept`
- [Image Operations](https://github.com/yeasy/docker_practice/tree/master/04_image): `04_image`
- [Container Operations](https://github.com/yeasy/docker_practice/tree/master/05_container): `05_container`
- [Image Repositories](https://github.com/yeasy/docker_practice/tree/master/06_repository): `06_repository`

### Build And Operate

- [Dockerfile Builds](https://github.com/yeasy/docker_practice/tree/master/07_dockerfile): `07_dockerfile`
- [Data Management](https://github.com/yeasy/docker_practice/tree/master/08_data): `08_data`
- [Networking](https://github.com/yeasy/docker_practice/tree/master/09_network): `09_network`
- [Buildx](https://github.com/yeasy/docker_practice/tree/master/10_buildx): `10_buildx`
- [Compose](https://github.com/yeasy/docker_practice/tree/master/11_compose): `11_compose`

### Platform And Internals

- [Engine Internals](https://github.com/yeasy/docker_practice/tree/master/12_implementation): `12_implementation`
- [Kubernetes](https://github.com/yeasy/docker_practice/tree/master/13_kubernetes_concepts): `13_kubernetes_concepts`
- [Cluster Setup](https://github.com/yeasy/docker_practice/tree/master/14_kubernetes_setup): `14_kubernetes_setup`
- [etcd](https://github.com/yeasy/docker_practice/tree/master/15_etcd): `15_etcd`
- [Cloud Platforms](https://github.com/yeasy/docker_practice/tree/master/16_cloud): `16_cloud`
- [Container Ecosystem](https://github.com/yeasy/docker_practice/tree/master/17_ecosystem): `17_ecosystem`

### Operational Practice

- [Security](https://github.com/yeasy/docker_practice/tree/master/18_security): `18_security`
- [Observability](https://github.com/yeasy/docker_practice/tree/master/19_observability): `19_observability`
- [OS Cases](https://github.com/yeasy/docker_practice/tree/master/20_cases_os): `20_cases_os`
- [DevOps Cases](https://github.com/yeasy/docker_practice/tree/master/21_case_devops): `21_case_devops`

### Reader Tooling

- [Paged HTML Reader](https://github.com/yeasy/docker_practice/blob/master/tools/build_html_reader.py): `tools/build_html_reader.py`

### Other components

- **Learner**
- **Pandoc**

## Connections

- Learner → Introduction: starts with (evidence: `README.md`)
- Introduction → Installation: learns installation (evidence: `README.md`)
- Installation → Core Concepts: learns concepts (evidence: `README.md`)
- Core Concepts → Image Operations: manages images (evidence: `README.md`)
- Image Operations → Container Operations: runs containers (evidence: `README.md`)
- Container Operations → Image Repositories: uses repositories (evidence: `README.md`)
- Image Repositories → Dockerfile Builds: builds images (evidence: `README.md`)
- Dockerfile Builds → Data Management: configures data (evidence: `README.md`)
- Data Management → Networking: configures networking (evidence: `README.md`)
- Networking → Buildx: explores builds (evidence: `README.md`)
- Buildx → Compose: manages applications (evidence: `README.md`)
- Learner → Engine Internals: studies internals (evidence: `README.md`)
- Engine Internals → Kubernetes: explores orchestration (evidence: `README.md`)
- Kubernetes → Cluster Setup: studies setup (evidence: `README.md`)
- Learner → etcd: studies ecosystem (evidence: `README.md`)
- Learner → Cloud Platforms: studies cloud (evidence: `README.md`)
- Learner → Container Ecosystem: explores ecosystem (evidence: `README.md`)
- Learner → Security: studies security (evidence: `README.md`)
- Learner → Observability: studies operations (evidence: `README.md`)
- Learner → OS Cases: reviews examples (evidence: `README.md`)
- Learner → DevOps Cases: reviews workflows (evidence: `README.md`)
- Paged HTML Reader → Pandoc: invokes (evidence: `tools/build_html_reader.py`)
