Skip to content

Commit

Permalink
bug fix: docker install on cent8
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Aug 3, 2020
1 parent 24eb4a7 commit 4700bd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockerManager/dockerInstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4700bd9

Please sign in to comment.