docker

DEV Community

This is an honest comparison from someone who runs GPU containers in production daily. Both Docker and Podman are excellent container runtimes. But for AI/ML infrastructure in 2026, Docker has pulled ahead in ways that matter if you're building inference services, training pipelines, or agentic AI workflows. I maintain keda-gpu-scaler (GPU autoscaling for KEDA), otel-gpu-receiver (GPU observabili…

aicontainersdockermachine-learning
DEV Community

Docker Deep Dive: Beyond docker run (2026) You know docker run and docker-compose up . Now let's unlock the real power of Docker for development and production. Multi-Stage Builds: Smaller, Faster, Safer Images # ❌ Single-stage: Everything in one image (HUGE) FROM node:20 WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build # Result: ~1.5GB image with devDependencies, source c…

dockertechnology
DEV Community

Introduction If you work with data, you probably have spent hours writing a Python script, training a machine learning model or building a data pipeline. It runs perfectly on your laptop but when you send the same code to a teammate or try to run it on a company server, it instantly crashes. Usually, the error has nothing to do with your code. It crashes because of issues like; the other computer…

computer-sciencedockerprogramming-languages
DEV Community

If your team works with geospatial data, sooner or later you need a place where maps, layers, users, and edits live together. There are many capable SaaS platforms and proprietary solutions you can deploy on your own infrastructure, but there is another path: self-hosting an open-source Web GIS server. In this tutorial, we will deploy NextGIS Web on a low-cost VPS using Docker, and then configure…

computer-sciencedockergis
DEV Community

Standard Angular builds bake environment variables into the code at build time. This means if you have Dev , Staging , and Prod environments, you have to build the app three times. That's a waste of time. Instead, we should build a single Docker image and swap configurations at runtime. Here is how to do it. 1. The Strategy We will store environment-specific configurations in JSON files and use a…

dockertechnology
DEV Community

Self host docker guide: if you’ve been copy-pasting docker run commands on your laptop, you’re one reboot away from losing something important. A small VPS is the cleanest upgrade—stable IP, predictable uptime, and a place where your containers can live like they’re supposed to. Pick a VPS you won’t hate managing For Docker self-hosting, you don’t need “cloud architecture.” You need a boring Linu…

cloud-computingdockertechnology
DEV Community

What I Deployed The EpicBook is an online bookstore with a Node.js + Express backend, MySQL database, Handlebars frontend, and Nginx reverse proxy. It has real data: 54 books and 53 authors. The architecture: Internet (port 80) | v Nginx (reverse proxy) | frontend_network v Node.js App (port 8080, internal) | backend_network v MySQL (port 3306, in…

computer-sciencedocker