From 4700bd919398e34a6683c285c2af96af311baf86 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 3 Aug 2020 12:16:20 +0500 Subject: [PATCH] bug fix: docker install on cent8 --- dockerManager/dockerInstall.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dockerManager/dockerInstall.py b/dockerManager/dockerInstall.py index 83589ad27..3d5f282b3 100755 --- a/dockerManager/dockerInstall.py +++ b/dockerManager/dockerInstall.py @@ -19,6 +19,10 @@ class DockerInstall: "Starting Docker Installation..\n", 1) if ProcessUtilities.decideDistro() == ProcessUtilities.cent8: + + command = 'dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo' + ServerStatusUtil.executioner(command, statusFile) + command = 'sudo dnf install -y docker-ce --nobest' elif ProcessUtilities.decideDistro() == ProcessUtilities.centos: command = 'sudo yum install -y docker'