Install Docker in Fedora Linux
![]()
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.
bash
sudo dnf update- Install required dependencies
bash
sudo dnf -y install dnf-plugins-coreSetup Docker Repository
- Add docker download repository to your system
bash
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repoInstall Docker
- Install docker
bash
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-pluginPost Install
- Add a docker to the user group to use the docker command without sudo
bash
sudo usermod -aG docker $USEROther Operating Systems
-
If you want to install Docker in other linux distributions check out the following links