mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 01:43:49 +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 = [
|
||||
"create",
|
||||
"--name={}".format(pod["name"]),
|
||||
"--infra-name={}_infra".format(pod["name"]),
|
||||
"--share", "net",
|
||||
]
|
||||
ports = pod.get("ports", None) or []
|
||||
|
Loading…
Reference in New Issue
Block a user