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)