How to Install and Uninstall docker-compose Package on openSUSE Leap

Last updated: May 14,2024

1. Install "docker-compose" package

This guide let you learn how to install docker-compose on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install docker-compose

2. Uninstall "docker-compose" package

This guide covers the steps necessary to uninstall docker-compose on openSUSE Leap:

$ sudo zypper remove docker-compose

3. Information about the docker-compose package on openSUSE Leap

Information for package docker-compose:
---------------------------------------
Repository : Main Repository
Name : docker-compose
Version : 2.14.2-bp155.1.6
Arch : x86_64
Vendor : openSUSE
Installed Size : 47.0 MiB
Installed : No
Status : not installed
Source package : docker-compose-2.14.2-bp155.1.6.src
Upstream URL : https://github.com/docker/compose
Summary : Define and run multi-container applications with Docker
Description :
Docker Compose is a tool for running multi-container applications on Docker defined using the Compose file format. A Compose file is used to define how the one or more containers that make up your application are configured. Once you have a Compose file, you can create and start your application with a single command: docker compose up.
About update and backward compatibility
Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). The installation instructions for Compose V2 differ from V1. V2 is not a standalone binary anymore, and installation scripts will have to be adjusted. Some commands are different.
For a smooth transition from legacy docker-compose 1.xx, please consider installing compose-switch to translate docker-compose ... commands into Compose V2's docker compose .... . Also check V2's --compatibility flag.