Skip to content

Commit

Permalink
docker install on almalinux
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 5, 2024
1 parent 4506eb6 commit 3029e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plogical/DockerSites.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ def InstallDocker(self):
else:
return 0, ReturnCode

command = 'curl -L "https://github.com/docker/compose/releases/download/v2.23.2/docker-compose-linux-x86_64" -o /usr/local/bin/docker-compose'
command = 'curl -L "https://github.com/docker/compose/releases/download/v2.23.2/docker-compose-linux-x86_64" -o /usr/bin/docker-compose'
ReturnCode = ProcessUtilities.executioner(command, 'root', True)

if ReturnCode:
pass
else:
return 0, ReturnCode

command = 'chmod +x /usr/local/bin/docker-compose && ln -s /usr/bin/docker-compose /usr/local/bin/docker-compose'
command = 'chmod +x /usr/bin/docker-compose'
ReturnCode = ProcessUtilities.executioner(command, 'root', True)

if ReturnCode:
Expand Down

0 comments on commit 3029e2e

Please sign in to comment.