

The recommended method for installing Docker Compose on CentOS 7 is by downloading the Compose binary from the Docker’s GitHub repository.Īt the time of writing this article, the latest stable version of Docker Compose is version 1.23.1. Logged in as a user with sudo privileges.Prerequisites #Įnsure that you met the following prerequisites before continuing with this tutorial: We will also cover the basic Docker Compose concepts and commands. This tutorial walks you through installing the latest version of Docker Compose on CentOS 7.

With Compose, you define the application’s services, networks and volumes in a single YAML file, then spin your application with a single command.Ĭompose can be used for different purposes such as single host application deployments, automated testing, and local development. Restart services on remote hosts - Ansible module service
