Docker
29 items tagged with "docker"
Best Practices1
Tutorials12
Containerizing a Node.js Application
Learn to create optimized Docker containers for Node.js applications
Setting Up a Local Kubernetes Cluster
Create a local Kubernetes development environment with kind or minikube
Local Development with Docker Compose
Set up a complete development environment with Docker Compose
How to build and optimize Docker images for smaller, faster builds
Reduce Docker image size and build time with layer ordering, .dockerignore, and build cache strategies.
How to use multi-stage Docker builds to shrink production images
Separate build and runtime stages so compilers and dev dependencies stay out of the final image.
How to build distroless container images for minimal attack surface
Run applications on distroless base images that contain no shell or package manager, reducing size and CVEs.
How to run a multi-container app with Docker Compose
Define an app, a database, and a cache as services in one Compose file with networks, volumes, and health checks.
How to build and run rootless containers
Run containers as a non-root user with Podman or Docker rootless mode to reduce privilege and risk.
How to deploy a container to Google Cloud Run
Containerize an app and deploy it to Google Cloud Run for autoscaling, request-billed serverless hosting.
How to publish a Docker image to a registry from CI
Build a Docker image in CI and push it to a container registry with proper tags and authentication.
Run the Vibgrate CLI with Docker
Run a Vibgrate drift scan inside Docker by mounting your project, keeping the scan isolated from your host toolchain and reproducible in CI.
Scan a Containerized Project for Supply-Chain Signals
Scan a Dockerized project so the Build & Deploy Scanner detects containerization signals, then export an SBOM of its dependencies.
Blueprints2
Monolithic VM Application to Containers Blueprint
Containerize a large monolithic application running on virtual machines, externalizing state and config to run reliably on a container platform.
Docker Swarm to Amazon ECS Blueprint
Migrate containerized services from Docker Swarm to Amazon ECS on Fargate, translating Compose-style stacks into task definitions and services.
Migrations2
Stacks3
Serverless Containers Stack
Cloud stack running standard OCI containers on managed serverless platforms for scale-to-zero, pay-per-use workloads without cluster management.
AWS ECS Fargate Containers Stack
Managed container stack running Docker workloads on AWS ECS with Fargate serverless compute, behind a load balancer, without managing servers or clusters.
Jenkins + Nexus
A self-hosted CI and artifact-management stack pairing Jenkins automation pipelines with Sonatype Nexus as a binary repository for builds and dependencies.
FAQs4
What is a container?
A container is a lightweight, standalone unit that packages an application together with its dependencies, libraries, and configuration so it runs con...
What is the difference between a Docker container and a virtual machine?
A virtual machine (VM) virtualizes hardware and runs a full guest operating system on top of a hypervisor, so each VM carries its own kernel and is he...
What is a container image?
A container image is a read-only template that contains everything needed to run an application: code, runtime, libraries, environment variables, and ...
What is a container registry?
A container registry is a storage and distribution system for container images, allowing them to be pushed after a build and pulled at deployment time...