What I Learned this Week (March 23, 2018)
Jonathan Apodaca

Jonathan Apodaca @jrop

About: /* No comment */

Location:
Fort Collins, CO
Joined:
Aug 11, 2017

What I Learned this Week (March 23, 2018)

Publish Date: Mar 26 '18
9 0

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.

Comments 0 total

    Add comment