
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
- Install required dependencies
1
| sudo dnf -y install dnf-plugins-core
|
Setup Docker Repository
- Add docker
download repository to your system
1
| sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
|
Install Docker
1
| 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
1
| sudo usermod -aG docker $USER
|
Other Operating Systems