will it blend better?
This commit is contained in:
2
main.py
2
main.py
@@ -159,7 +159,7 @@ def backup_service(servicename: str, servicesdict: dict, composefilepath: str) -
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
dockerclient = docker.from_env()
|
dockerclient = docker.from_env()
|
||||||
containersid = os.popen(f"docker-compose --file {composefilepath} ps --quiet {servicename}").readlines()
|
containersid = os.popen(f"docker-compose --file {composefilepath} ps --quiet {servicename}").read().splitlines()
|
||||||
containerrunning = []
|
containerrunning = []
|
||||||
for containerid in containersid:
|
for containerid in containersid:
|
||||||
print(containerid)
|
print(containerid)
|
||||||
|
|||||||
Reference in New Issue
Block a user