Skip to content

Commit

Permalink
Checks for unknown hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Apr 18, 2024
1 parent ee7a126 commit bac1a54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion other_files/midori_program_ver.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
`Red Satinbird` ->| 24.4.18.1 |<-
`Red Satinbird` ->| 24.4.18.2 |<-
7 changes: 6 additions & 1 deletion other_files/model_installer/subsystem_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,16 @@
# Connect to the Docker daemon on Windows using Docker-py for Windows
s.log("logging into docker vm subsystem (Windows)")
client = docker.from_env(version='auto')
else:
elif ver_os_info == "linux":
# Connect to the Docker daemon on Linux-like systems using Docker-py
s.log("logging into docker vm subsystem (Linux)")
s.log("If this fails please try running me as root user")
client = docker.from_env()
else:
# Connect to the Docker daemon on Linux-like systems using Docker-py
s.log("logging into docker vm subsystem (Unknown OS)")
s.log("Please open a issue on the github")
client = docker.from_env(version='auto')

except Exception as e:
s.log("Looks like I was unable to log into the docker subsystem...")
Expand Down

0 comments on commit bac1a54

Please sign in to comment.