DEV Community

Jonathan Apodaca
Jonathan Apodaca

Posted on

3 1

What I Learned this Week (March 23, 2018)

This week's list will be a bit shorter, as I was caught up in a lot of administrative tasks this week.

Docker: Service vs. Stack

When using Docker in Swarm Mode, a stack describes multiple "services" to run in your cluster. As docker-compose is to docker run, so is a Docker stack to a Docker service. Incidentally, stacks are also described in a very similar manner via YML as you would in a docker-compose.yml file.

A Docker service is a collection of homogeneous containers, that is, with the same image:tag. Docker Swarm will replicate the service across multiple nodes according to the rules you set.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more