Modify docker instalation for fedora systems

Use install_package instead of using a specific package manager
while installing docker on fedora systems. With DNF also a
possibility, the better option is to do not take a stand in chosing
which package manager will be used to install packages.

We have a install_package function that will use the appropriate
package manager to install the programs we need to install.

Change-Id: I0524554dae2d6970191ba3afa583480c391b5c3c
This commit is contained in:
silvacarloss 2021-11-11 18:59:40 -03:00
parent 67664839b3
commit 7500d22bca
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ function install_docker_ubuntu {
}
function install_docker_fedora {
sudo yum install -y docker
install_package docker
sudo systemctl enable docker
sudo systemctl start docker
}