One practical method to create a modular setup that will allow you to more securely install, manage, and update applications and web services would be using Docker. Docker is an open-source application that creates the aforementioned applications and services in a self-contained environment in a way that is similar to virtual machines but without virtualization.
In this guide, we will walk you through how to install Docker on Fedora.
How to install
Install dnf-plugins-core if it is not already installed. This would allow for you to install applications using the dnf repositories.
sudo dnf -y install dnf-plugins-core
Step One – Add the stable repositories using the following command
sudo dnf config-manager \ --add-repo \ https://download.docker.com/linux/fedora/docker-ce.repo
Step Two – Install the latest version of docker.
sudo dnf install docker-ce docker-ce-cli containerd.io