Skip to main content

Command Palette

Search for a command to run...

#docker-swarm

Articles tagged with #docker-swarm

  1. Building Production-Ready Docker Deployments with Secrets, Stacks, and Distroless Images

    This post wraps up the core Docker Swarm curriculum by covering four important topics that complete the picture of production-ready containerized deployments. We start with Docker Secrets, which solves the real-world problem of passing sensitive credentials into containers without hardcoding them. We then look at Docker Stack, which is how you run multi-service Docker Compose files across a Swarm cluster instead of a single host. After that we cover the distinction between replicated and global services, which is a concept that appears in Kubernetes as well. We close with a look at Portainer for those who prefer a visual interface, and a brief introduction to distroless images. Each of these topics builds on everything covered so far. If you have your Swarm cluster running, you can follow along with every command shown here.

    Jun 17, 202614 min read
    Building Production-Ready Docker Deployments with Secrets, Stacks, and Distroless Images
  2. Beyond One Server: Solving Docker Scaling with Swarm and Container Networks

    This post covers three separate but deeply connected topics. We start by finishing what was started with Docker Hub, pushing all four bank service images to a remote registry so they survive beyond any single machine. From there, we identify a real architectural problem with single-host Docker deployments and introduce Docker Swarm as the solution. Finally, we close with Docker networking, explaining how containers communicate with each other both on the same host and across different hosts. By the end of this article, you will understand how to push and pull images from Docker Hub, how to set up a multi-node Docker Swarm cluster, how to create and scale services across that cluster, what self-healing means in practice, and how Docker networking works under the hood.

    Jun 17, 202618 min read3
    Beyond One Server: Solving Docker Scaling with Swarm and Container Networks