mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-14 18:08:44 +01:00
commit
26df0a377f
@ -416,6 +416,9 @@ def container_to_args(cnt, dirname, podman_path, shared_vols):
|
||||
|
||||
if pod:
|
||||
args.append('--pod={}'.format(pod))
|
||||
sec = norm_as_list(cnt.get("security_opt"))
|
||||
for s in sec:
|
||||
args.extend(['--security-opt', s])
|
||||
if cnt.get('read_only'):
|
||||
args.append('--read-only')
|
||||
for i in cnt.get('labels', []):
|
||||
@ -481,7 +484,7 @@ def container_to_args(cnt, dirname, podman_path, shared_vols):
|
||||
|
||||
def rec_deps(services, container_by_name, cnt, init_service):
|
||||
deps = cnt["_deps"]
|
||||
for dep in deps:
|
||||
for dep in deps.copy():
|
||||
dep_cnts = services.get(dep)
|
||||
if not dep_cnts:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user