mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 09:53:23 +01:00
#342: set infra container name
This commit is contained in:
parent
b33c42b7e2
commit
069018c5b1
@ -1313,6 +1313,7 @@ def create_pods(compose, args):
|
|||||||
podman_args = [
|
podman_args = [
|
||||||
"create",
|
"create",
|
||||||
"--name={}".format(pod["name"]),
|
"--name={}".format(pod["name"]),
|
||||||
|
"--infra-name={}_infra".format(pod["name"]),
|
||||||
"--share", "net",
|
"--share", "net",
|
||||||
]
|
]
|
||||||
ports = pod.get("ports", None) or []
|
ports = pod.get("ports", None) or []
|
||||||
|
Loading…
Reference in New Issue
Block a user