Docker compose

Concepts clés

Key concepts these samples cover

The samples should help you to:

  • define services based on Docker images using Compose files docker-compose.yml and docker-stack.yml files

  • understand the relationship between docker-compose.yml and Dockerfiles

  • learn how to make calls to your application services from Compose files

  • learn how to deploy applications and services to a swarm

Other definition

Source: https://blog.sixeyed.com/windows-dockerfile-26/

You define applications in Compose in terms of services rather than containers. Services will be deployed as containers - but a service could be multiple instances of a single container, so it’s an abstraction beyond managing containers on hosts.