- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Since Red Hat has ended the support for docker after RHEL 7, the workloads needs to be migrated to podman(if podman is preferred) when upgrading to RHEL 8 or later. Follow the below steps to achieve the same.
Save the images using the command
$ docker save -o output_name.tar image_namebefore performing the upgrade.
Remove docker and install podman by running the below commands,
# yum remove docker -y
# yum install podman -y
Load back to images using the command
$ podman load -i image_name.tar
$ podman imagesto verify if the images have been loaded successfully.
Containers can then be run as usual but with podman and not docker.
- Red Hat Enterprise Linux for x86_64
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.