# yeasy/docker_practice

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/yeasy-docker-practice).**

26,111 stars · 5,793 forks · Go

## Links

- GitHub: https://github.com/yeasy/docker_practice
- Homepage: https://yeasy.gitbook.io/docker_practice/
- awesome-repositories: https://awesome-repositories.com/repository/yeasy-docker-practice.md

## Topics

`book` `cloud-computing` `container` `devops` `docker` `kubernetes` `linux` `mesos` `spark` `swarm` `virtualization`

## Description

This project is a Docker educational resource and a collection of practical examples designed for learning containerization technologies. It serves as a guide for understanding container fundamentals, including the creation and management of custom images and the use of registries.

The repository provides specialized references for container security hardening, such as managing kernel privileges and implementing supply chain security. It also includes tutorials for multi-container orchestration and a DevOps guide focused on CI/CD automation and image optimization.

The material covers a broad range of operational capabilities, including cloud-native architecture, the deployment of Kubernetes clusters, and the configuration of container networking and persistent storage. It further extends into advanced areas such as serving local AI models and analyzing blockchain architectures within containerized environments.

## Tags

### DevOps & Infrastructure

- [Containerized Application Deployments](https://awesome-repositories.com/f/devops-infrastructure/containerized-application-deployments.md) — Serves as a comprehensive guide for building and deploying functional applications using portable container images. ([source](https://cdn.jsdelivr.net/gh/yeasy/docker_practice@master/README.md))
- [Docker Learning Resources](https://awesome-repositories.com/f/devops-infrastructure/docker-learning-resources.md) — Serves as a comprehensive educational resource with practical examples for learning Docker and containerization.
- [Automated Deployment Pipelines](https://awesome-repositories.com/f/devops-infrastructure/automated-deployment-pipelines.md) — Automates the end-to-end flow of code from version control to production using containers. ([source](https://yeasy.gitbook.io/docker_practice/))
- [Container Base Images](https://awesome-repositories.com/f/devops-infrastructure/container-base-images.md) — Provides criteria for selecting minimal, hardened foundation images for containerized applications. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/20_cases_os))
- [Container Build Specifications](https://awesome-repositories.com/f/devops-infrastructure/container-build-specifications.md) — Provides guidance on creating text-based blueprints to automate the build process for consistent images. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/07_dockerfile))
- [Multi-Stage Container Builds](https://awesome-repositories.com/f/devops-infrastructure/container-build-stages/multi-stage-container-builds.md) — Implements layered multi-stage builds to separate compilation from runtime for security and size optimization. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/07_dockerfile))
- [Container CI/CD Pipelines](https://awesome-repositories.com/f/devops-infrastructure/container-ci-cd-pipelines.md) — Provides automation tools and services optimized for container-based build and deployment workflows. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/21_case_devops))
- [Container Cluster Deployments](https://awesome-repositories.com/f/devops-infrastructure/container-cluster-deployments.md) — Covers the automated installation and management of scalable container orchestration systems. ([source](https://github.com/yeasy/docker_practice/blob/master/SUMMARY.md))
- [Container Image Packaging](https://awesome-repositories.com/f/devops-infrastructure/container-image-packaging.md) — Provides tools and processes for bundling applications into immutable container images. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/02_basic_concept))
- [Container Execution](https://awesome-repositories.com/f/devops-infrastructure/container-images/container-execution.md) — Packages applications into images and launches them in isolated environments. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/01_introduction))
- [Container Lifecycle Management](https://awesome-repositories.com/f/devops-infrastructure/container-lifecycle-management.md) — Guides the automation of the build, deployment, and maintenance of container image lifecycles. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/05_container))
- [Container Orchestration Tools](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration-tools.md) — Uses standardized manifests to deploy and manage multi-container application stacks. ([source](https://yeasy.gitbook.io/docker_practice/mu-lu/readme.md))
- [Container Lifecycle Management](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/container-lifecycle-management.md) — Manages the full lifecycle of building and running Docker images for isolated application environments. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/02_basic_concept))
- [Multi-Stage Build Pipelines](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/docker-image-building/multi-stage-build-pipelines.md) — Provides practical examples of using multi-stage build pipelines to minimize final container image size.
- [Image Size Optimization](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/container-image-caching/image-size-optimization.md) — Offers guidance on minimizing the footprint of container images to improve security and efficiency. ([source](https://yeasy.gitbook.io/docker_practice/fu-lu/appendix))
- [Container Image Distribution](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/container-image-distribution.md) — Provides instructions on serving container images and manifests over HTTP to enable application deployment. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/02_basic_concept))
- [Remote Image Registries](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/container-image-distribution/image-distributions-across-members/remote-image-registries.md) — Guides the use of centralized registries for consistent image distribution and deployment.
- [Custom Container Images](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/custom-container-images.md) — Details the creation of specialized container images with custom environment variables and build workflows. ([source](https://yeasy.gitbook.io/docker_practice))
- [Container Orchestrators](https://awesome-repositories.com/f/devops-infrastructure/container-orchestrators.md) — Uses orchestration platforms to manage the lifecycle, networking, and resource allocation of containerized services. ([source](https://cdn.jsdelivr.net/gh/yeasy/docker_practice@master/README.md))
- [Container Storage Persistence](https://awesome-repositories.com/f/devops-infrastructure/container-storage-persistence.md) — Demonstrates mapping host-level storage to containers to ensure data survives restarts. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/08_data))
- [Container Network and Volume Configuration](https://awesome-repositories.com/f/devops-infrastructure/container-storage-persistence/container-network-and-volume-configuration.md) — Provides instructions for establishing container bridge networks and persistent storage volumes. ([source](https://yeasy.gitbook.io/docker_practice))
- [Image Building](https://awesome-repositories.com/f/devops-infrastructure/containerization/image-building.md) — Provides comprehensive guides on authoring build files to create custom application images. ([source](https://yeasy.gitbook.io/docker_practice/))
- [Kubernetes Deployments](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-deployments.md) — Includes tutorials for installing and configuring Kubernetes clusters in various environments. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/14_kubernetes_setup))
- [Multi-Container Orchestration](https://awesome-repositories.com/f/devops-infrastructure/multi-container-orchestration.md) — Demonstrates the use of tools for defining and running complex multi-container applications via configuration files.
- [Cloud Container Deployments](https://awesome-repositories.com/f/devops-infrastructure/cloud-container-deployments.md) — Provides configurations for running containerized workloads on managed cloud orchestration services. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/16_cloud))
- [Architecture Labs](https://awesome-repositories.com/f/devops-infrastructure/cloud-native-infrastructure/architecture-labs.md) — Includes real-world scenarios for building high-availability systems and deploying workloads to public clouds.
- [Container Deployment Units](https://awesome-repositories.com/f/devops-infrastructure/container-deployment-units.md) — Creates logical groupings of containers that share network and storage resources for tightly coupled components. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/13_kubernetes_concepts))
- [Container Shell Access](https://awesome-repositories.com/f/devops-infrastructure/container-hosting/container-shell-access.md) — Enables interactive shell access within running container environments for administrative tasks. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/05_container))
- [Multi-Architecture Images](https://awesome-repositories.com/f/devops-infrastructure/container-image-builders/multi-architecture-images.md) — Covers the bundling of container images for multiple CPU architectures and operating systems. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/01_introduction))
- [Container Image Layering](https://awesome-repositories.com/f/devops-infrastructure/container-image-layering.md) — Applies strategies for organizing and merging filesystem layers to ensure image efficiency. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/07_dockerfile))
- [Remote Image Pulling](https://awesome-repositories.com/f/devops-infrastructure/container-image-management/remote-image-pulling.md) — Demonstrates downloading container images and specific versions from remote registries to the local system. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/04_image))
- [Container Image Registries](https://awesome-repositories.com/f/devops-infrastructure/container-image-registries.md) — Instructs on using cloud-based registries to store and distribute container images. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/16_cloud))
- [Private Registries](https://awesome-repositories.com/f/devops-infrastructure/container-image-registries/private-registries.md) — Guides the setup of self-managed private registries to protect proprietary container images. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/06_repository))
- [Container Orchestration Environments](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration-environments.md) — Configures platforms for deploying and managing local or remote container orchestration clusters. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/20_cases_os))
- [Optimization Techniques](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/docker-image-building/optimization-techniques.md) — Provides practical examples of creating lean images using multi-stage builds and minimal base OS images.
- [Prebuild Image Caching](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/container-image-caching/build-layer-caching/prebuild-image-caching.md) — Implements techniques for caching images in CI to accelerate startup and build times. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/17_ecosystem))
- [Container Image Optimizers](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/container-image-optimizers.md) — Provides guidance on tools and techniques to reduce image size and improve the security profile of containers.
- [Container Port Mappings](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/networking/container-port-mappings.md) — Configures port mappings to expose internal container services to external host networks. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/13_kubernetes_concepts))
- [Container Troubleshooting](https://awesome-repositories.com/f/devops-infrastructure/container-troubleshooting.md) — Offers practical guides for resolving common deployment and operational issues in containerized environments. ([source](https://yeasy.gitbook.io/docker_practice/fu-lu/appendix))
- [Daemonless Container Engines](https://awesome-repositories.com/f/devops-infrastructure/daemonless-container-engines.md) — Explains how to use container runtimes that execute processes without a persistent background daemon.
- [Daemonless Container Image Building](https://awesome-repositories.com/f/devops-infrastructure/daemonless-container-image-building.md) — Constructs compliant container images without requiring a local background container runtime. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/17_ecosystem))
- [Deployment Strategies](https://awesome-repositories.com/f/devops-infrastructure/deployment-strategies.md) — Implements release patterns like blue-green and canary deployments using container isolation. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/21_case_devops))
- [DevOps Automation Tools](https://awesome-repositories.com/f/devops-infrastructure/devops-automation-tools.md) — Offers a DevOps guide for automating delivery pipelines, including security hardening and system monitoring. ([source](https://cdn.jsdelivr.net/gh/yeasy/docker_practice@master/README.md))
- [Enterprise Infrastructure Management](https://awesome-repositories.com/f/devops-infrastructure/enterprise-infrastructure-management.md) — Describes administrative and security configurations for managing container platforms at enterprise scale. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/06_repository))
- [Container Infrastructure Design](https://awesome-repositories.com/f/devops-infrastructure/high-availability-infrastructure/container-infrastructure-design.md) — Guides the architecture of secure and high-availability systems based on container implementation technologies. ([source](https://cdn.jsdelivr.net/gh/yeasy/docker_practice@master/README.md))
- [Remote Image Inspection](https://awesome-repositories.com/f/devops-infrastructure/image-registry-clients/remote-image-inspection.md) — Includes utilities for viewing manifests and metadata of remote images without pulling them locally. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/17_ecosystem))
- [Image Listing](https://awesome-repositories.com/f/devops-infrastructure/image-registry-clients/remote-image-inspection/image-listing.md) — Demonstrates how to list all images available on a local server for selection or inspection. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/04_image))
- [Service Start Sequences](https://awesome-repositories.com/f/devops-infrastructure/interdependent-resource-management/service-start-sequences.md) — Starts multiple containers in sequence with pre-configured networking and environment variables. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/11_compose))
- [Cluster Resource Management](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-cluster-management/cluster-resource-management.md) — Enables administrative control over cluster resources, services, and namespaces via CLI. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/14_kubernetes_setup))
- [Layered Filesystems](https://awesome-repositories.com/f/devops-infrastructure/layered-filesystems.md) — Describes storage architectures using read-only layers and writable layers for efficient container image storage.

### Education & Learning Resources

- [Container Foundations](https://awesome-repositories.com/f/education-learning-resources/container-foundations.md) — Offers introductory learning paths covering foundational container concepts and workflows. ([source](https://cdn.jsdelivr.net/gh/yeasy/docker_practice@master/README.md))
- [Learning Paths](https://awesome-repositories.com/f/education-learning-resources/educational-resources/courses-training-certifications/technical-learning-roadmaps/learning-paths.md) — Organizes containerization technology concepts into structured learning paths and roadmaps for skill acquisition. ([source](https://yeasy.gitbook.io/docker_practice/fu-lu/appendix))

### Part of an Awesome List

- [Custom Image Builds](https://awesome-repositories.com/f/awesome-lists/devtools/image-build-and-analysis/custom-image-builds.md) — Provides practical examples for building custom images using multi-stage builds and build-time arguments. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/04_image))
- [Cloud Foundations](https://awesome-repositories.com/f/awesome-lists/learning/cloud-foundations.md) — Supplies educational resources for building production-grade foundations with cloud and orchestration tools. ([source](https://yeasy.gitbook.io/forward_deployed_engineering_guide/))

### Networking & Communication

- [Container Networking Configurations](https://awesome-repositories.com/f/networking-communication/container-networking-configurations.md) — Covers the configuration of isolated virtual networks, port mappings, and communication between containers. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/09_network))

### Operating Systems & Systems Programming

- [Process Namespace Isolation](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/process-isolation/namespace-based-isolation/pid-namespace-isolation/process-namespace-isolation.md) — Explains the use of kernel namespaces to separate system resources and prevent process interference. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/12_implementation))
- [Linux Container Managers](https://awesome-repositories.com/f/operating-systems-systems-programming/linux-container-managers.md) — Guides the use of Linux kernel features to manage the lifecycle of isolated processes and images. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/20_cases_os))
- [Supply Chain Attestations](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/file-system-management/file-system-utilities/file-metadata-inspection/image-metadata-inspectors/supply-chain-attestations.md) — Provides methods for inspecting image indices and attestations to ensure supply chain security. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/04_image))
- [Namespace-Based Isolation](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/process-isolation/namespace-based-isolation.md) — Explains the use of Linux kernel namespaces to create isolated environments for containerized processes.

### Security & Cryptography

- [Container Security](https://awesome-repositories.com/f/security-cryptography/container-security.md) — Provides specialized references for hardening container runtimes, managing privileges, and implementing security monitoring. ([source](https://yeasy.gitbook.io/docker_practice/))
- [Container Security](https://awesome-repositories.com/f/security-cryptography/container-security-scanners/container-security.md) — Provides workflows for verifying digital signatures and scanning images for vulnerabilities before deployment. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/18_security))
- [Build Provenance Attestors](https://awesome-repositories.com/f/security-cryptography/cryptographic-hash-verifiers/build-provenance-attestors.md) — Implements cryptographic attestations to provide verifiable proof of image origin and build integrity. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/10_buildx))
- [Container Security Hardening](https://awesome-repositories.com/f/security-cryptography/security/infrastructure-and-hardware/infrastructure-system-hardening/deployment-security-hardening/container-security-hardening.md) — Guides the configuration of security contexts and permissions to restrict application privileges and reduce escape risks. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/17_ecosystem))
- [Container Hardening](https://awesome-repositories.com/f/security-cryptography/security/infrastructure-and-hardware/infrastructure-system-hardening/linux-security-hardening/container-hardening.md) — Teaches techniques for reducing the attack surface using read-only filesystems and non-root execution. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/18_security))
- [Container Privilege Restrictions](https://awesome-repositories.com/f/security-cryptography/security/policies/capability-authorization/capability-based-security/container-privilege-restrictions.md) — Demonstrates how to drop unnecessary kernel privileges within containerized processes to minimize host attack surface. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/18_security))
- [Software Supply Chain Security](https://awesome-repositories.com/f/security-cryptography/software-supply-chain-security.md) — Integrates software bills of materials and attestations into the image storage layer for supply chain security. ([source](https://yeasy.gitbook.io/docker_practice/di-yi-bu-fen-ru-men-pian/01_introduction))
- [Container Daemon Security](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/container-security/container-daemon-security.md) — Configures access rules for the container runtime API and sockets to prevent unauthorized remote host control. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/18_security))
- [Runtime Security](https://awesome-repositories.com/f/security-cryptography/runtime-security.md) — Covers the implementation of specialized runtime isolation technologies to increase security boundaries. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/17_ecosystem))

### Software Engineering & Architecture

- [DevOps and Deployment Workflows](https://awesome-repositories.com/f/software-engineering-architecture/project-management-governance/project-management/devops-and-deployment-workflows.md) — Provides educational content on integrating container builds and deployments into DevOps workflows. ([source](https://github.com/yeasy/docker_practice/blob/master/SUMMARY.md))
- [Software Bill of Materials Generators](https://awesome-repositories.com/f/software-engineering-architecture/software-bill-of-materials-generators.md) — Provides tools and methods for automatically generating comprehensive software bills of materials during the build process. ([source](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/10_buildx))

### System Administration & Monitoring

- [Resource Usage Restrictions](https://awesome-repositories.com/f/system-administration-monitoring/resource-usage-limiters/resource-usage-restrictions.md) — Implements memory and CPU usage caps using control groups to prevent denial of service. ([source](https://yeasy.gitbook.io/docker_practice/di-si-bu-fen-shi-zhan-pian/18_security))
- [Container Cgroup Resource Limits](https://awesome-repositories.com/f/system-administration-monitoring/cgroup-resource-analyzers/container-cgroup-resource-limits.md) — Provides guidance on enforcing memory, CPU, and process count limits on containers using Linux cgroups.
- [Container Health Monitors](https://awesome-repositories.com/f/system-administration-monitoring/cluster-health-monitoring/container-health-monitors.md) — Integrates health monitors to track real-time resource usage and status for containers in a cluster. ([source](https://yeasy.gitbook.io/docker_practice/mu-lu/readme.md))
- [Control Group Resource Limiting](https://awesome-repositories.com/f/system-administration-monitoring/resource-usage-limiters/control-group-resource-limiting.md) — Allocates CPU and memory limits using control groups to manage process consumption. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/12_implementation))

### Artificial Intelligence & ML

- [Local Model Serving](https://awesome-repositories.com/f/artificial-intelligence-ml/local-model-serving.md) — Provides methods for running large language models on local hardware using containerized environments. ([source](https://yeasy.gitbook.io/docker_practice/di-san-bu-fen-shen-ru-pian/17_ecosystem))
