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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay