mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-26 01:20:28 +00:00
Update docker.py
This commit is contained in:
parent
aa79c83cdf
commit
fa154bdf6b
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ def get_process_perc(app_name):
|
|||
client = docker.from_env()
|
||||
image_name = app_name + ":" + app_version
|
||||
print(resp)
|
||||
resp = client.api.pull(image_name, stream=True, decode=True)
|
||||
resp = client.api.pull(app_name, tags=app_version, stream=True, decode=True)
|
||||
print(resp)
|
||||
#for line in resp:
|
||||
# print(json.dumps(line, indent=4))
|
||||
|
|
Loading…
Reference in a new issue