Run a Node.js Web Server in Docker
A Docker image packages an application and its runtime. This guide creates a small Node.js web server, builds an image and runs it as a non-root user with a local port mapping.
Posts tagged “docker”.
A Docker image packages an application and its runtime. This guide creates a small Node.js web server, builds an image and runs it as a non-root user with a local port mapping.
A scanner container reads your source code and sends an analysis report to an existing SonarQube server. You do not install SonarQube inside…
A multi-stage Dockerfile uses one stage to test and compile code and another to run it. This keeps build tools out of the final application…
Docker Swarm schedules container tasks across Docker hosts. This guide uses one manager to control the cluster and two workers to run applic…
Swarm can replace service tasks gradually and mount secrets as files. Updates, credential changes and persistent storage still need separate…
Portainer provides a web interface for managing containers and Swarm. Because it can control Docker, treat it as an administrator tool rathe…
Docker Compose starts related containers from one YAML file. This guide runs a web server, a private PostgreSQL database and a separate data…
A Swarm stack describes services that the cluster should run. Every eligible node needs access to the same application image, so build and p…
A container can fail because its process exits, it runs out of resources, its port is wrong or a required file is unavailable. Check these s…
One thoughtful letter each week: what I read, what I learned, and one idea worth keeping. No noise, ever.