Tag: devops
All the articles with the tag "devops".
-
Stop Living Dangerously on :latest Docker
Using :latest in production is a ticking time bomb. Pin your Docker image versions or watch a surprise update break everything at 2 AM.
-
Distroless: How to Build Slim, Secure Containers
Distroless images contain only your app and its runtime — no shell, no package manager, no attack surface. Here's how to build them.
-
Understanding and Optimizing Docker’s daemon.json File
daemon.json controls how the Docker daemon behaves — logging drivers, storage drivers, registry mirrors, and the options worth tuning.
-
Techniques for Writing Robust, Reliable Bash Scripts
Write bash scripts that don't silently fail — set -euo pipefail, error handling, input validation, and logging patterns for production scripts.
-
Ansible: Task and Role Inclusions for Efficient Automation
Stop copy-pasting Ansible tasks across playbooks — use include_tasks, import_tasks, and roles to keep your automation DRY and maintainable.
-
Docker Networking Essential Guide for All Skill Levels
Bridge, host, overlay, macvlan, and none — every Docker network mode explained with real use cases from beginner to production.
-
Docker Volume Mounts: Essential Flags
The -v and --mount flags for Docker volumes explained — bind mounts vs named volumes, read-only, propagation, and tmpfs options.
-
How to Transfer docker Images Without a Repository
Move Docker images between hosts without a registry using docker save and docker load — air-gapped deployments made simple.
-
Understanding CMD and ENTRYPOINT in Dockerfiles
CMD and ENTRYPOINT both define what runs in a container but work differently — exec vs shell form, and how they interact when combined.
-
Copying Files Between Docker Containers and Host Machines
Use docker cp to move files between running containers and your host machine — no volumes needed for one-off file transfers.
-
Dockerfile: Differences Between COPY and ADD
COPY and ADD look similar but ADD auto-extracts tarballs and fetches URLs — know when each is appropriate and why COPY is usually better.
-
Docker Strategies for Load Balancing and Failover
Add load balancing and failover to your Docker setup using Swarm, nginx, HAProxy, and Keepalived — high availability without Kubernetes.