Docker Security on a Shared VPS
Why Docker bypasses your UFW rules, how to fix it, and container hardening practices that matter on a shared VPS.
Why Docker bypasses your UFW rules, how to fix it, and container hardening practices that matter on a shared VPS.
Conditional builds with ARG, health checks, cross-platform images, linting, and other Dockerfile patterns for production use.
Use layer caching, BuildKit cache mounts, and parallel stages to make your Docker builds faster.
Run containers as non-root users, choose minimal base images, and keep secrets out of your Docker layers.
Use multi-stage Dockerfiles to separate build tooling from your runtime image, cutting image size by 90% or more.
Learn Dockerfile basics — FROM, COPY, RUN, CMD — and build your first container image.
A five-part series covering Dockerfiles from first principles to production-ready patterns.
Run a Go API as a DDEV sidecar so Laravel in the web container can call it by service name, with one shared secret for signed requests.
Learn how to set up and use Dev Containers in Visual Studio Code for consistent, isolated development environments.
DDEV is a fantastic open-source tool that can help you set up your local PHP development environments…