As Podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it, and I’m going to cover all of them. It’s easy and simple but to avoid some podman-compose errors please make sure that you have satisfied the
- Amazon Linux 2
- Python3 and pip3
Install podman-compose using PyPI
To install the latest stable
podman-compose version through pip3, run:
pip3 install podman-compose
Install podman-compose from GitHub
Install the latest development version from GitHub.
pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gz
Install podman-compose using curl
Install it using curl.
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
To verify the installation, execute:
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.