Installing docker compose on Ubuntu 19.04 will get some benefits in terms of the procedure of starting multiple docker containers, creating volumes, etc… But before installing docker compose on Ubuntu 19.04, make sure that you have docker installed.
- Ubuntu 19.04
- Docker Installed
Install Docker Compose
Download the Docker Compose binary into the
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Once is finished add the needed permissions for execution to the Composer binary:
sudo chmod +x /usr/local/bin/docker-compose
To check that the Docker Compose is installed run:
The output should look like:
docker-compose version 1.25.0, build 0a186604
So docker compose is successfully installed on Ubuntu 19.04.
Uninstalling Docker Compose
If you want to remove the Docker Compose for any specific reason you can simply execute the following command:
sudo rm /usr/local/bin/docker-compose
In this tutorial we shown you
how to install Docker Compose on Ubuntu 19.04 and if you have some further questions please put a comment in the box below. For more information about using docker compose you can find in the docker official documentation. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on telegram.