2023-04-10 22:51:37 -05:00
|
|
|
def process_cont_list(full_cont_list, start_cont_fn, req_obj, host, port, access_token, endpoint):
|
2022-10-21 12:48:19 -05:00
|
|
|
if full_cont_list:
|
2023-04-10 22:51:37 -05:00
|
|
|
#print(full_cont_list)
|
|
|
|
started = []
|
2022-10-21 12:48:19 -05:00
|
|
|
for container in full_cont_list:
|
2023-04-10 22:51:37 -05:00
|
|
|
start_cont_fn(req_obj, host, port, access_token, endpoint, container["Id"])
|
|
|
|
started.append(container["Names"][0].lstrip("/"))
|
|
|
|
return started
|