If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m going to show you how to install Podman on AWS EC2 Amazon Linux 2 instance.
Prerequisites
- Amazon Linux 2
- sudo privileges
Install Podman on AWS EC2 Amazon Linux 2 instance
Step 1. Login and update system packages.
sudo yum update
Step 2. Execute the following command to add the Kubic project repo:
sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/devel:kubic:libcontainers:stable.repo
Step 3. Install the yum corp plugin.
sudo yum install yum-plugin-copr
Step 4. Enable the SELinux policy for container runtimes.
sudo yum copr enable lsm5/container-selinux
Step 5. Install Podman.
sudo yum install podman
Step 6. To verify the installation, run:
podman version
Conclusion
This tutorial will quickly guide you on how to install Podman on AWS EC2 Amazon Linux 2 instance. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.