Skip to content
Permalink
Browse files
bug fix: docker install on cent8
  • Loading branch information
usmannasir committed Aug 3, 2020
1 parent 24eb4a7 commit 4700bd919398e34a6683c285c2af96af311baf86
Showing 1 changed file with 4 additions and 0 deletions.
@@ -19,6 +19,10 @@ def submitInstallDocker():
"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'

0 comments on commit 4700bd9

Please sign in to comment.