mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 01:43:49 +01:00
#379: create a pod
This commit is contained in:
parent
d6e21dc752
commit
80e852717d
@ -268,10 +268,12 @@ def norm_ulimit(inner_value):
|
||||
# return [pod], containers
|
||||
|
||||
def tr_identity(project_name, given_containers):
|
||||
pod_name = f"pod_{project_name}"
|
||||
pod = dict(name=pod_name)
|
||||
containers = []
|
||||
for cnt in given_containers:
|
||||
containers.append(dict(cnt))
|
||||
return [], containers
|
||||
containers.append(dict(cnt, pod=pod_name))
|
||||
return [pod], containers
|
||||
|
||||
|
||||
def assert_volume(compose, mount_dict):
|
||||
|
Loading…
Reference in New Issue
Block a user