What is Docker Compose? The docker-compose
is a tool for defining and running complex multi-container Docker applications.
With docker-compose
you can define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
In this note i’ll show how to install, upgrade or uninstall docker-compose
on Ubuntu, CentOS or MacOS using pip
.
Cool Tip: How to install pip
on Ubuntu, CentOS or MacOS! Read more →
Install Docker Compose
Install docker-compose
using pip
:
$ sudo pip install docker-compose
Check the docker-compose
version:
$ docker-compose --version docker-compose version 1.19.0, build 9e633ef
Upgrade Docker Compose
Upgrade docker-compose
to the latest version:
$ pip install docker-compose --upgrade
Uninstall Docker Compose
Uninstall docker-compose
using pip
:
$ pip uninstall docker-compose