How To Install oci-umount on Fedora 36

In this tutorial we learn how to install oci-umount in Fedora 36. oci-umount is OCI umount hook for docker

Introduction

In this tutorial we learn how to install oci-umount on Fedora 36.

What is oci-umount

OCI umount hooks umount potential leaked mount points in a containers mount name-spaces

We can use yum or dnf to install oci-umount on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install oci-umount.

Install oci-umount on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install oci-umount using dnf by running the following command:

sudo dnf -y install oci-umount

Install oci-umount on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install oci-umount using yum by running the following command:

sudo yum -y install oci-umount

How To Uninstall oci-umount on Fedora 36

To uninstall only the oci-umount package we can use the following command:

sudo dnf remove oci-umount

oci-umount Package Contents on Fedora 36

/etc/oci-umount.conf
/etc/oci-umount/oci-umount-options.conf
/etc/oci-umount/oci-umount.d
/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/c4a5119ce28da7176f93b5342f9b0768bb1348
/usr/libexec/oci
/usr/libexec/oci/hooks.d
/usr/libexec/oci/hooks.d/oci-umount
/usr/share/containers/oci/hooks.d
/usr/share/containers/oci/hooks.d/oci-umount.json
/usr/share/doc/oci-umount
/usr/share/doc/oci-umount/README.md
/usr/share/licenses/oci-umount
/usr/share/licenses/oci-umount/LICENSE
/usr/share/man/man1/oci-umount.1.gz
/usr/share/man/man5/oci-umount-options.conf.5.gz
/usr/share/man/man5/oci-umount.conf.5.gz
/usr/share/oci-umount
/usr/share/oci-umount/oci-umount-options.conf
/usr/share/oci-umount/oci-umount.d

References

Summary

In this tutorial we learn how to install oci-umount on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).