How To Install docker-distribution on Fedora 36

In this tutorial we learn how to install docker-distribution in Fedora 36. docker-distribution is Docker toolset to pack, ship, store, and deliver content

Introduction

In this tutorial we learn how to install docker-distribution on Fedora 36.

What is docker-distribution

Docker toolset to pack, ship, store, and deliver content

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

Install docker-distribution 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 docker-distribution using dnf by running the following command:

sudo dnf -y install docker-distribution

Install docker-distribution 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 docker-distribution using yum by running the following command:

sudo yum -y install docker-distribution

How To Uninstall docker-distribution on Fedora 36

To uninstall only the docker-distribution package we can use the following command:

sudo dnf remove docker-distribution

docker-distribution Package Contents on Fedora 36

/etc/docker-distribution
/etc/docker-distribution/registry
/etc/docker-distribution/registry/config.yml
/usr/bin/registry
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/f0c665332195d2903987a10d74a23d39f29e53
/usr/lib/systemd/system/docker-distribution.service
/usr/share/doc/docker-distribution
/usr/share/doc/docker-distribution/AUTHORS
/usr/share/doc/docker-distribution/CONTRIBUTING.md
/usr/share/doc/docker-distribution/MAINTAINERS
/usr/share/doc/docker-distribution/README.md
/usr/share/licenses/docker-distribution
/usr/share/licenses/docker-distribution/LICENSE
/var/lib/registry

References

Summary

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