How to install latest version docker and podman on Centos 8.1

check if we have last version

$ sudo dnf update
$ sudo dnf upgrade
$ more /etc/centos-release

How to install latest docker-ce onCentos 8.1

community version of Docker has no official support for Red Hat Enterprise Linux and Centos 8, so we need do following steps.

$ sudo dnf config-manager --add-repo=
$ sudo dnf install 
$sudo dnf install docker-ce
$ sudo systemctl enable --now docker
$ sudo docker info

How to install latest version of podman

podman is not compatible with containerd so wee need to uninstall it.

$ sudo dnf remove

Adding repot EPEL8 ( Extra Packages for Enterprise Linux 8 – x86_64 )

sudo dnf install

add CentOS CR (Continuous Release) Repo

dnf config-manager --enable cr
dnf update

list of repost

sudo dnf repolist -v 

actual status of releases Centos

cat /etc/*-release

Install podman

cd /etc/yum.repos.d/
$sudo wget
$sudo dnf install podman 

Another option is used snapd

sudo dnf -y install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap

now we install snapcraft

sudo snap install snapcraft --classic
sudo snap install podman --edge

check last version of podman

Leave a Reply

Close Menu