Install Docker in Fedora Linux

By

Vineel Sai

profile

docker fedora

Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. In the following article, you will know how to install docker in Fedora

Prerequisites

Dependencies

  • Update the system.
sudo dnf update
  • Install required dependencies
sudo dnf -y install dnf-plugins-core

Setup Docker Repository

  • Add docker download repository to your system
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

Install Docker

sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin

Post Install

  • Add a docker to the user group to use the docker command without sudo
sudo usermod -aG docker $USER

Other Operating Systems