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