Why docker-20-04 droplet are not installing docker-compose ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hello @carlosclavijoschmiedl
To make sure you obtain the most updated stable version of Docker Compose, you’ll download this software from its official Github repository.
First, confirm the latest version available on their releases page. At the time of this writing, the most current stable version is
2.3.3
.Use the following command to download:
Next, set the correct permissions so that the
docker compose
command is executable:To verify that the installation was successful, you can run:
You’ll see output similar to this:
Docker Compose is now successfully installed on your system. In the next section, you’ll see how to set up a
docker-compose.yml
file and get a containerized environment up and running with this tool.You can check our article here
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04
Regards
Hi there,
I’ve just checked and can confirm that
docker compose
is available:Note that
docker-compose
is legacy now and you should usedocker compose
instead.I case that you need the legacy one, you can install
docker-compose
with:Hope that this helps!
Best,
Bobby