Files
awesome-kubernetes/v2-docs/docker.md

62 KiB
Raw Blame History

Docker

!!! info "Architectural Context" Detailed reference for Docker in the context of The Container Stack.

Standard Reference

Cloud Infrastructure

Training

Multi-Cloud Platforms

  • (2021) acloudguru.com [COMMUNITY-TOOL] [GUIDE] — A premier enterprise learning platform specialized in modern cloud-native system training. Delivers deep hands-on sandbox labs, certification preparation curricula, and continuous technical playground resources.

Cloud Native AI

Big Data Orchestration

Spark on Kubernetes

Cloud Native Security

Supply Chain Security

Container Vulnerabilities

Container Infrastructure

Management Interfaces

GUI Consoles

  • Portainer 🌟 [EN CONTENT] [ENTERPRISE-STABLE] — A robust administrative dashboard that simplifies the visual management of Docker Swarm, Kubernetes, and local container environments. Ideal for dev teams seeking centralized configuration oversight without heavy command-line overhead.

Containerization

Application Development

Spring Boot and Docker

Docker and OCI Images

Building Images

Buildx Kubernetes Driver

Java Optimization

  • (2021) blog.adoptium.net: Using Jlink in Dockerfiles instead of a JRE [JAVA CONTENT] [GUIDE] [COMMUNITY-TOOL] [GUIDE] — An Adoptium-native guide on optimizing JVM execution inside containers. Details how to use the JDK's modular 'jlink' utility to build ultra-lean, custom JRE environments, reducing image size, memory footprint, and security attack vectors.

Local Environment

Docker Compose Orchestration

  • DockSTARTer 2558 [EN CONTENT] [COMMUNITY-TOOL] — A user-friendly CLI utility designed to simplify the configuration and installation of self-hosted server software via structured Docker Compose patterns. Serves as a solid entry point for containerization concepts in local server and edge hardware topologies.

Containers

Container Runtimes

Alternatives

Base Images

  • (2021) crunchtools.com: A Comparison of Linux Container Images [N/A CONTENT] [COMMUNITY-TOOL] — Analyzes and contrasts popular Linux base images, including Alpine, Debian, CentOS, and UBI (Universal Base Image). Highlights differences in library support (glibc vs musl), package managers, size footprints, and enterprise support lifecycles.

Docker Buildx

Build Performance

  • (2020) nrmitchi.com: One Simple Trick for Building Images Faster 🌟 [N/A CONTENT] [COMMUNITY-TOOL] — Highlights how to configure Docker BuildKit with BUILDKIT_INLINE_CACHE=1 to optimize caching strategies in distributed CI/CD environments. Allows remote runners to reuse build cache layers directly from target container registries without retaining local builds.

Multi-Arch Images

  • (2025) docs.docker.com: docker buildx imagetools [N/A CONTENT] [ADVANCED LEVEL] [DOCUMENTATION] [COMMUNITY-TOOL] — Explains the use of docker buildx imagetools for low-overhead manipulation of multi-architecture container manifests and registry metadata. Demonstrates how to inspect, tag, and construct multi-platform manifest lists without rebuilding raw container layers. Essential tool for modern, cross-platform CI/CD pipelines.

Docker Compose

Best Practices

  • (2023) releasehub.com: 6 Docker Compose Best Practices for Dev and Prod [N/A CONTENT] [COMMUNITY-TOOL] — Establishes clear technical patterns for utilizing Compose across development and staging-to-production pipelines. Discusses environment variable inheritance, file overrides, service orchestration control, healthchecks, and proper volume segregation.

Specifications

Docker Core

Introduction

  • (2024) hostinger.in: What Is Docker and How Does It Work? Docker Explained [N/A CONTENT] [COMMUNITY-TOOL] [GUIDE] — A fundamental reference defining containerization primitives and architectural components. Details the separation of concerns between the Docker Engine, Client, Registry, Images, and Containers. Serves as a foundational primer for engineers transitioning from monolithic virtualization to container-native architectures.

Storage and Volumes

  • (2024) thenewstack.io: How to Share Data Between Docker Containers [N/A CONTENT] [COMMUNITY-TOOL] — A highly technical dive into container storage patterns, demonstrating how to share persistent data across multi-container architectures. Explores Docker volumes, bind mounts, and volumes_from directives. Contrasts runtime decoupling strategies with data lifecycle requirements for stateful microservices.

Docker Ecosystem

Local Environments

  • (2023) matt-rickard.com: An Overview of Docker Desktop Alternatives [N/A CONTENT] [COMMUNITY-TOOL] — A comprehensive technical evaluation of localized container environments designed to bypass Docker Desktop license requirements. Analyzes alternative virtualization runtimes including Rancher Desktop, Podman, Colima, and Lima. Evaluates developer experience, macOS/Windows host integration, and system resource optimization.

Tooling Catalog

  • (2023) Top 50 Docker Tools [N/A CONTENT] [COMMUNITY-TOOL] — A curated catalog indexing 50 vital tools across the container lifecycle. Spans orchestration, security scanning, local development helpers, and container monitoring solutions. Serves as a useful landscape map for platform engineers standardizing toolchains.

Docker History

Architecture

  • (2021) infoworld.com: How Docker broke in half [N/A CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — A retrospective architectural analysis detailing the structural decoupling of Docker's runtime. Focuses on the extraction and standardization of containerd and runc under the Open Container Initiative (OCI). Synthesizes the engineering and open-source design shifts that led to the modern decoupled container runtime ecosystem.

Industry Impact

  • (2023) infoworld.com: Docker really did change the world [N/A CONTENT] [COMMUNITY-TOOL] — Analyzes the revolutionary impact of Docker on modern software engineering and microservices deployment. Traces how standardizing containerization eliminated the 'works on my machine' paradigm and laid the foundation for cloud-native orchestration platforms. Reflects on containerization as the bedrock of modern devops culture.

Docker Management

Portainer

  • (2026) Portainer Community Edition [GO CONTENT] [COMMUNITY-TOOL] — Portainer Community Edition offers a lightweight, powerful graphical management UI for Docker, Docker Swarm, and Kubernetes. Enables developers and platform teams to monitor containers, view logs, provision volumes, and inspect environments without CLI overhead.

Docker Operations

Monitoring

  • (2024) sematext: Monitor Docker Metrics & Logs 🌟 [N/A CONTENT] [COMMUNITY-TOOL] — Discusses telemetry collection paradigms for Docker hosts and containers. Details containerized log routing, resource consumption metric monitoring, and application tracing. Evaluates agents like Sematext Agent and native integrations for full-stack visibility.

Docker Optimization

Image Shrinking

  • (2024) slim.ai: Automatically reduce Docker container size using DockerSlim [GO CONTENT] [COMMUNITY-TOOL] — A technical breakdown of using DockerSlim (SlimToolkit) to programmatically analyze and minify container images. Demonstrates dynamic analysis via container execution tracking to discover required libraries and auto-remove unused binaries, resulting in size reductions up to 30x.
  • (2024) learnk8s.io: 3 simple tricks for smaller Docker images 🌟 [N/A CONTENT] [COMMUNITY-TOOL] — Highlights three actionable architectural practices for compressing Docker image footprints: selecting optimal micro-distributions (like Distroless/Alpine), minimizing intermediate build layers via strict chaining, and leveraging fine-grained multi-stage Docker builds.

Docker Security

Optimization

Dockerfile Best Practices

Anti-Patterns

  • (2023) codefresh.io: Docker anti-patterns 🌟 [N/A CONTENT] [COMMUNITY-TOOL] — Catalogues developer and operational anti-patterns when designing and running containerized applications. Critiques practices such as treating containers as persistent virtual machines, hardcoding configurations, embedding production secrets, and executing workloads under root credentials.
  • (2021) jpetazzo.github.io: Anti-Patterns When Building Container Images [N/A CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Written by an early Docker engineer, this guide analyzes systemic architectural failures in container image building. Critiques heavy base images, broken caching structures, runtime reliance on build-time components, and security-compromising design choices.

Build Performance (1)

  • (2023) acloudguru.com: Docker COPY vs ADD: Whats the difference? [N/A CONTENT] [COMMUNITY-TOOL] — Compares the technical nuances of the COPY and ADD directives within Dockerfile construction. Highlights why COPY is favored for deterministic, transparent local file injection, while ADD provides specialized capabilities like URL extraction and auto-decompression. Stresses security risks associated with untrusted remote ADD targets.

Optimization (1)

  • (2024) sysdig.com: Top 20 Dockerfile best practices 🌟 [N/A CONTENT] [COMMUNITY-TOOL] — An authoritative checklist for securing and optimizing Docker container images. Recommends multi-stage builds, non-root execution users, layer caching optimization, and minimal base images like Alpine or Distroless. Provides structured guidance to reduce attack surfaces and execution footprints in production.

Reference Examples

  • (2024) ==github.com/pabpereza/curated-dockerfiles-examples: Curated Dockerfiles examples== [DOCKERFILE CONTENT] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — A repository aggregating production-ready Dockerfile configurations for various language runtimes. Demonstrates optimizations including caching patterns, multi-stage compilation, and dependency pruning. An actionable reference implementation for establishing platform engineering standards within the enterprise.

Migration

Containerization Guide

Orchestration

Docker vs Kubernetes

  • (2023) containerjournal.com: Whats the Difference Between Docker and Kubernetes? [N/A CONTENT] [COMMUNITY-TOOL] — Demystifies the core differences and functional synergy between Docker as a single-host container runtime and Kubernetes as a distributed container orchestrator. Illustrates how they complement each other in container execution and lifecycle management, while detailing the shifting landscape toward CRI-compatible runtimes.

Windows Containers

IIS and Enterprise

Development Tools

Local Kubernetes Environments

Guides and Workflows

Infrastructure Standards

Container Registry

Legacy Resources

  • (2026) Test an insecure registry 🌟 [DOCUMENTATION] 🌟 [COMMUNITY-TOOL] — Retired Docker documentation dealing with configurations of insecure, unencrypted private registries. Preserved for diagnosing vintage local developer configurations.

Observability

Container Monitoring

Grafana Docker Integration

  • (2026) grafana.com: Docker Integration for Grafana Cloud [YAML CONTENT] [DOCUMENTATION] [COMMUNITY-TOOL] — Official reference for integrating Grafana Cloud with Docker engine runtimes. Walks through setting up metrics collectors to scrape system indicators, memory usage, CPU throttles, and aggregate dashboard views for container monitoring.

💡 Explore Related: OCP 3 | OCP 4 | Kubernetes Operators Controllers