Docker-compose is a tool for defining and running multi-container Docker applications.
With docker-compose, you use a YAML file to configure your application's services.
By running just one command, one can run all services from the configuration.
Prerequisites:
1. Docker license should be added
2. Virtualization must be enabled
3. Docker should be running
Steps to follow,
1. Login as root or as admin and switch to root with shell sudo su -
2. Enable the virtual environment
python3 -m venv ~/docker-compose
3. Activate the service
source docker-compose/bin/activate
4. Install docker-compose
pip install docker-compose
5. Check the version
docker-compose --version