mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-09 21:57:44 +02:00
Added handling pid
option
Fixes #554 Signed-off-by: Evgeniy Timokhov <timocov@gmail.com>
This commit is contained in:
@ -981,6 +981,8 @@ async def container_to_args(compose, cnt, detached=True):
|
||||
podman_args.append("--tty")
|
||||
if cnt.get("privileged", None):
|
||||
podman_args.append("--privileged")
|
||||
if cnt.get("pid", None):
|
||||
podman_args.extend(["--pid", cnt["pid"]])
|
||||
pull_policy = cnt.get("pull_policy", None)
|
||||
if pull_policy is not None and pull_policy != "build":
|
||||
podman_args.extend(["--pull", pull_policy])
|
||||
|
Reference in New Issue
Block a user