podman, ubuntu,

Install Podman Compose on Ubuntu 22.04

May 19, 2022 · 1 min read · Post a comment

As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m going to show you three ways on how to install Podman Compose on Ubuntu 22.04.

Prerequisites

  • Podman
  • sudo privileges

Install podman-compose using PyPI on Ubuntu 22.04

Step 1. Update the packages and install python with pip.

sudo apt update
sudo apt install python3-pip

Step 2. To install the latest stable podman-compose version using pip3, run:

pip3 install podman-compose

Install podman-compose from GitHub on Ubuntu 22.04

Install the latest dev version from GitHub.

pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gz

Install podman-compose using curl on Ubuntu 22.04

Use curl as the most common way to install podman-compose.

curl -o /usr/local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py
chmod +x /usr/local/bin/podman-compose

Verify installation

podman-compose --version

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.