Skip to content

Commit 4700bd9

Browse files
committed
bug fix: docker install on cent8
1 parent 24eb4a7 commit 4700bd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dockerManager/dockerInstall.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ def submitInstallDocker():
1919
"Starting Docker Installation..\n", 1)
2020

2121
if ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
22+
23+
command = 'dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo'
24+
ServerStatusUtil.executioner(command, statusFile)
25+
2226
command = 'sudo dnf install -y docker-ce --nobest'
2327
elif ProcessUtilities.decideDistro() == ProcessUtilities.centos:
2428
command = 'sudo yum install -y docker'

0 commit comments

Comments
 (0)