Skip to content

Commit bb31995

Browse files
committed
added print res to the docker checker to see the error code.
1 parent a653e5a commit bb31995

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockerChecker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def main():
1717

1818
if res.returncode:
1919
res = subprocess.run(f'docker ps -a | grep "{version}"', capture_output=True, check=False, shell=True)
20+
print(res)
2021
res = res.stdout.decode('utf-8')
2122
_id = res.split()[0]
2223
subprocess.run(f'docker start {_id}', shell=True, check=True)

0 commit comments

Comments
 (0)