Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2.1 KB

README.md

File metadata and controls

38 lines (27 loc) · 2.1 KB

Home

Docker Compose

This chapter introduces the concept of an application consisting of multiple services, each running in a container, and how Docker Compose allows us to easily build, run, and scale such an application using a declarative approach.

This chapter covers the following topics:

Technical requirements

The code accompanying this chapter can be found at https://github.com/zizo-ro/Docker

# Download code
git pull https://github.com/Fredy-SSA/jenkins-pipeline.git

cd ~\M-08\sample\docker-compose

You need to have docker-compose installed on your system. This is automatically the case if you have installed Docker for Desktop or Docker Toolbox on your Windows or macOS computer. Otherwise, you can find detailed installation instructions here: https://docs.docker.com/compose/install/

Summary

In this chapter, we introduced the docker-compose tool. This tool is mostly used to run and scale multi-service applications on a single Docker host. Typically, developers and CI servers work with single hosts and those two are the main users of Docker Compose. The tool is using YAML files as input that contain the description of the application in a declarative way.

Further reading

The following links provide additional information on the topics discussed in this chapter: