Introduction Below is the steps to get docker-compose working with podman. Note, that podman runs in essentially two modes. System mode (owned by root) or User mode where it runs when the user logs in. For development you will want it in user mode if you intend to do development with docker-compose.
Installation sudo curl -SL https://github.com/docker/compose/releases/download/v2.22.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose Switch Podman from System Mode to User Mode # may not be necessary sudo systemctl disable --now podman podman.
Introduction We will install a Kubernetes on RHEL 8 with CRI-O, and Podman. We are using an r5.large on Amazon EC2 using Amazon’s provided Red Hat Enterprise Linux 8.
Installation Install the updates on your fresh server from Amazon.
sudo dnf update -y sudo dnf install net-tools -y Setup DNS or atleast Hostname entries in your /etc/hosts file
sudo hostnamectl set-hostname k8.obert.dev sudo init 6 echo `/sbin/ifconfig eth0 | grep 'inet ' | awk {'print $2'}` ${HOSTNAME} | sudo tee -a /etc/hosts Set selinux to permissive
Introduction We will install a Kubernetes on RHEL 9 with CRI-O, and Podman. We are using an r5.large on Amazon EC2 using Amazon’s provided Red Hat Enterprise Linux.
Installation Install the updates on your fresh server from Amazon.
sudo dnf update -y Setup DNS or atleast Hostname entries in your /etc/hosts file
echo `/sbin/ifconfig eth0 | grep 'inet ' | awk {'print $2'}` ${HOSTNAME} | sudo tee -a /etc/hosts Set selinux to permissive