Data, Cloud & DevOps
Docker & Kubernetes
Prepare for Docker and Kubernetes interviews, covering containerization, images, networking, orchestration, deployments, scaling, security, monitoring, and production infrastructure.
Your learning roadmap
Explore the key concepts
Use these subtopics as a study checklist. Start with the fundamentals, then progress to practical examples and interview preparation.
Containerization fundamentals
Understand containerization and how containers package applications with their dependencies to provide consistent, portable, and isolated runtime environments.
Start learningVirtual machines vs containers
Compare virtual machines and containers in terms of architecture, resource usage, isolation, startup time, portability, and application deployment.
Start learningDocker architecture
Explore Docker architecture, including the Docker client, daemon, container runtime, images, containers, and registries.
Start learningDocker Engine and Docker CLI
Understand Docker Engine components and use the Docker CLI to communicate with the daemon and manage images, containers, networks, and volumes.
Start learningDocker images and containers
Learn how Docker images serve as application templates and how containers are created, started, stopped, inspected, and removed.
Start learningDocker image layers
Understand Docker image layers, copy-on-write behavior, layer caching, and how Docker builds reusable image filesystems.
Start learningDocker Hub and container registries
Store and distribute container images using Docker Hub and private registries, including image tagging, authentication, pushing, and pulling.
Start learningDocker commands and lifecycle management
Use essential Docker commands to create, run, inspect, monitor, stop, restart, and remove containers and manage their lifecycle.
Start learningWriting Dockerfiles
Create Dockerfiles using instructions such as FROM, RUN, COPY, WORKDIR, ENV, EXPOSE, and CMD to define repeatable container images.
Start learningDocker build context
Understand Docker build context, how files are sent to the build process, and how .dockerignore controls which files are included.
Start learningDocker image optimization
Reduce Docker image size and improve build efficiency using minimal base images, layer optimization, caching, and removal of unnecessary dependencies.
Start learningMulti-stage Docker builds
Create multi-stage Docker builds to separate compilation and runtime environments and produce smaller, cleaner production images.
Start learningDocker volumes and persistent storage
Persist container data using Docker volumes and understand volume creation, mounting, inspection, backup, and lifecycle management.
Start learningBind mounts and tmpfs mounts
Compare bind mounts and tmpfs mounts and learn how to share host files with containers or use temporary in-memory storage.
Start learningDocker networking
Understand Docker networking and how containers communicate with one another, the host machine, and external networks.
Start learningBridge, host, and overlay networks
Compare Docker bridge, host, and overlay networks and understand their isolation, connectivity, and use in standalone and distributed deployments.
Start learningContainer-to-container communication
Configure container-to-container communication using Docker networks, service names, aliases, and exposed application ports.
Start learningDocker Compose fundamentals
Use Docker Compose to define and run multi-container applications through declarative YAML configuration and coordinated service management.
Start learningDocker Compose services and networks
Configure Docker Compose services, dependencies, networks, ports, volumes, and startup behavior for applications with multiple containers.
Start learningEnvironment variables and configuration
Manage container application configuration using environment variables, Compose environment settings, configuration files, and environment-specific values.
Start learningDocker secrets
Protect sensitive application values using Docker secrets and understand how credentials and other confidential configuration are made available to containers.
Start learningContainer health checks
Configure Docker health checks to determine container health, detect unresponsive applications, and support reliable container management.
Start learningContainer resource limits
Control container CPU and memory consumption using Docker resource constraints and understand resource reservations, limits, and monitoring.
Start learningDocker logging and troubleshooting
Inspect container logs, diagnose startup and runtime failures, and troubleshoot networking, storage, image, and configuration issues.
Start learningDocker security best practices
Secure Docker environments through non-root execution, trusted images, minimal privileges, image updates, network isolation, and secret protection.
Start learningContainer vulnerability scanning
Scan container images for known vulnerabilities in operating system packages and application dependencies and understand remediation workflows.
Start learningRunning ASP.NET Core applications in Docker
Running ASP.NET Core applications in Docker: Learn its key concepts, practical implementation, architecture, and interview considerations.
Start learningDockerizing Next.js and Node.js applications
Dockerizing Next.js and Node.js applications: Learn its key concepts, practical implementation, architecture, and interview considerations.
Start learningDockerizing database services
Run database services in Docker containers and configure persistent storage, initialization scripts, credentials, networking, and backup strategies.
Start learningContainer deployment strategies
Explore container deployment approaches across development, testing, and production environments, including image promotion, scaling, and rollout management.
Start learningKubernetes fundamentals
Understand Kubernetes as a container orchestration platform and learn its core concepts for deploying, scaling, networking, and managing containerized applications.
Start learningWhy Kubernetes is needed
Understand the challenges of managing containers at scale and how Kubernetes provides automated scheduling, scaling, service discovery, and recovery.
Start learningKubernetes architecture
Explore Kubernetes cluster architecture, including the control plane, worker nodes, API server, scheduler, controllers, and cluster data storage.
Start learningControl plane and worker nodes
Understand the responsibilities of Kubernetes control plane and worker nodes and how they coordinate application scheduling and container execution.
Start learningKubernetes API server
Learn how the Kubernetes API server exposes cluster operations, validates resource requests, and acts as the central interface for cluster components.
Start learningetcd and cluster state
Understand etcd as Kubernetes' distributed key-value store and how it maintains cluster configuration, resource definitions, and desired state.
Start learningScheduler and controller manager
Explore how the Kubernetes scheduler assigns pods to suitable nodes and how the controller manager continuously reconciles actual and desired cluster state.
Start learningKubelet and kube-proxy
Understand kubelet's role in managing pods on worker nodes and kube-proxy's role in implementing Kubernetes Service networking.
Start learningPods and containers
Learn how Kubernetes Pods provide the smallest deployable unit and manage one or more containers sharing networking and storage resources.
Start learningMulti-container pods
Design multi-container Pods using sidecar, ambassador, and adapter patterns and understand how closely related containers share resources and lifecycle.
Start learningReplicaSets
Use Kubernetes ReplicaSets to maintain a specified number of running pod replicas and understand how they support application availability.
Start learningDeployments
Manage stateless applications using Kubernetes Deployments, including replica configuration, rolling updates, scaling, and revision history.
Start learningDaemonSets
Use Kubernetes DaemonSets to ensure selected pods run on eligible nodes, commonly for logging agents, monitoring agents, and networking components.
Start learningStatefulSets
Deploy stateful applications using StatefulSets and understand stable pod identities, ordered deployment, persistent storage, and scaling behavior.
Start learningJobs and CronJobs
Run finite and scheduled workloads using Kubernetes Jobs and CronJobs and configure completion requirements, retries, and execution schedules.
Start learningKubernetes Services
Expose Kubernetes applications through Services and understand stable networking endpoints, selectors, ports, and service discovery.
Start learningClusterIP, NodePort, and LoadBalancer
Compare ClusterIP, NodePort, and LoadBalancer Services and understand how each exposes applications within or outside a Kubernetes cluster.
Start learningService discovery and DNS
Understand Kubernetes service discovery through cluster DNS and how applications locate Services using DNS names and namespace-based resolution.
Start learningIngress and Ingress controllers
Route external HTTP and HTTPS traffic into Kubernetes clusters using Ingress resources and controllers, including host-based and path-based routing.
Start learningConfigMaps and Secrets
Manage application configuration and sensitive values using Kubernetes ConfigMaps and Secrets and inject them into containers as environment variables or mounted files.
Start learningNamespaces and resource isolation
Organize Kubernetes resources using namespaces and understand resource separation, access boundaries, quotas, and environment isolation.
Start learningPersistent Volumes (PV)
Understand Kubernetes Persistent Volumes as cluster storage resources and learn how storage capacity, access modes, and reclaim policies are defined.
Start learningPersistent Volume Claims (PVC)
Request persistent storage using PersistentVolumeClaims and understand how Kubernetes binds storage claims to suitable Persistent Volumes.
Start learningStorage classes
Use Kubernetes StorageClasses to define dynamic storage provisioning, storage parameters, provisioners, and default storage behavior.
Start learningKubernetes networking
Explore Kubernetes networking concepts covering pod connectivity, Services, cluster IP addressing, external access, and network communication rules.
Start learningContainer Network Interface (CNI)
Understand the Container Network Interface specification and how CNI plugins configure pod networking and connectivity within Kubernetes clusters.
Start learningPod-to-pod communication
Learn how Kubernetes Pods communicate across nodes using cluster networking, pod IP addresses, routing, and network plugin implementations.
Start learningNetwork policies
Control pod-level network traffic using Kubernetes NetworkPolicies and define ingress and egress rules based on pods, namespaces, and IP ranges.
Start learningResource requests and limits
Configure CPU and memory requests and limits for Kubernetes containers and understand scheduling decisions, resource enforcement, and workload stability.
Start learningHorizontal Pod Autoscaling
Automatically adjust the number of running pod replicas using Horizontal Pod Autoscaling and metrics such as CPU and memory utilization.
Start learningVertical Pod Autoscaling
Use Vertical Pod Autoscaling to recommend or adjust container resource requests based on observed workload consumption.
Start learningCluster autoscaling
Understand cluster autoscaling and how node capacity is increased or reduced based on pending workloads and resource utilization.
Start learningLiveness, readiness, and startup probes
Configure Kubernetes liveness, readiness, and startup probes to detect unhealthy containers, control traffic routing, and manage application initialization.
Start learningRolling updates and rollbacks
Perform Kubernetes rolling updates with controlled availability and revert deployments to previous revisions when new application releases fail.
Start learningKubernetes scheduling and affinity
Understand Kubernetes scheduling decisions and use node affinity, pod affinity, and pod anti-affinity to influence workload placement.
Start learningTaints and tolerations
Control pod scheduling with node taints and tolerations to reserve nodes for specific workloads and prevent unsuitable pod placement.
Start learningNode selectors
Schedule Kubernetes workloads on selected nodes using node labels and nodeSelector rules to match application requirements with available infrastructure.
Start learningHelm charts and package management
Package and deploy Kubernetes applications using Helm charts, templates, values files, releases, repositories, and chart dependency management.
Start learningKustomize fundamentals
Customize Kubernetes manifests using Kustomize bases, overlays, patches, and generators without relying on template-based configuration.
Start learningKubernetes RBAC
Control Kubernetes API access using Role-Based Access Control and understand Roles, ClusterRoles, RoleBindings, and ClusterRoleBindings.
Start learningService accounts
Configure Kubernetes ServiceAccounts to provide workload identities and control how applications authenticate when accessing the Kubernetes API.
Start learningKubernetes security best practices
Secure Kubernetes clusters through least-privilege access, image security, network isolation, workload hardening, patch management, and audit controls.
Start learningPod security standards
Apply Kubernetes Pod Security Standards using Privileged, Baseline, and Restricted profiles to control container and pod security configurations.
Start learningSecrets management
Manage Kubernetes application secrets securely using encryption at rest, external secret stores, restricted access, and secret rotation practices.
Start learningKubernetes monitoring and logging
Monitor Kubernetes clusters and applications through resource metrics, container logs, event collection, health monitoring, and centralized observability tools.
Start learningPrometheus and Grafana
Monitor Kubernetes workloads using Prometheus metrics collection and build Grafana dashboards and alerts to visualize cluster and application health.
Start learningCentralized logging with ELK
Collect and analyze Kubernetes container logs using Elasticsearch, Logstash, and Kibana and understand log shipping, indexing, and visualization.
Start learningKubernetes troubleshooting
Diagnose Kubernetes operational issues using kubectl commands, cluster events, resource descriptions, logs, networking checks, and node inspection.
Start learningDebugging pods and deployments
Troubleshoot failing pods and deployments by inspecting events, container logs, image pull errors, probes, configuration, and rollout status.
Start learningContainer orchestration
Understand container orchestration and how platforms automate container scheduling, scaling, networking, service discovery, and lifecycle management.
Start learningKubernetes cluster management
Manage Kubernetes clusters through node administration, version upgrades, resource monitoring, capacity planning, access control, and cluster maintenance.
Start learningManaged Kubernetes services
Compare managed Kubernetes offerings and understand how cloud providers handle cluster provisioning, control plane operations, upgrades, and infrastructure integration.
Start learningAzure Kubernetes Service (AKS)
Deploy and manage Kubernetes workloads on Azure Kubernetes Service, including node pools, networking, identity, scaling, and Azure integrations.
Start learningAmazon Elastic Kubernetes Service (EKS)
Run Kubernetes clusters on Amazon EKS and understand managed control planes, worker nodes, IAM integration, networking, and AWS service connectivity.
Start learningGoogle Kubernetes Engine (GKE)
Deploy containerized workloads on Google Kubernetes Engine and explore cluster modes, node pools, autoscaling, networking, and Google Cloud integrations.
Start learningCI/CD with Docker and Kubernetes
Build automated CI/CD workflows that create Docker images, execute tests, publish container artifacts, and deploy applications to Kubernetes clusters.
Start learningGitHub Actions and Kubernetes deployments
Automate Kubernetes deployments using GitHub Actions, including container image builds, registry authentication, cluster access, and manifest or Helm releases.
Start learningGitOps fundamentals
Understand GitOps principles and use Git repositories as the source of truth for declarative infrastructure and application deployment configurations.
Start learningArgo CD and Flux
Implement GitOps deployments with Argo CD and Flux and understand synchronization, reconciliation, application health, and continuous delivery from Git repositories.
Start learningService mesh fundamentals
Understand service mesh architecture and how dedicated infrastructure manages service-to-service communication, traffic policies, security, and observability.
Start learningIstio and Linkerd
Explore Istio and Linkerd service mesh capabilities, including traffic management, mutual TLS, service discovery, telemetry, and failure handling.
Start learningMicroservices deployment with Kubernetes
Deploy microservices on Kubernetes using independent Deployments, Services, configuration resources, ingress routing, autoscaling, and health probes.
Start learningProduction Kubernetes architecture
Design production-ready Kubernetes environments covering high availability, cluster security, networking, persistent storage, monitoring, and disaster recovery.
Start learningContainer and cluster performance optimization
Optimize container and Kubernetes performance by analyzing CPU, memory, storage, networking, scheduling, resource allocation, and application bottlenecks.
Start learningPractice & revise
Interview questions
Practice interview questions with answers, key points, and practical examples.
Test your knowledge
Explore 99 questions for this topic, covering concepts, practical examples, and interview scenarios.
Keep learning step by step
Work through the concepts, practice explaining them in your own words, and use interview questions to check your understanding.
Explore another learning path