mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-09 21:57:44 +02:00
Fix #782: add support for http_proxy
Signed-off-by: ChuJiani <archet@chujiani.top>
This commit is contained in:
@ -889,6 +889,8 @@ async def container_to_args(compose, cnt, detached=True):
|
||||
podman_args.extend(["--annotation", a])
|
||||
if cnt.get("read_only", None):
|
||||
podman_args.append("--read-only")
|
||||
if cnt.get("http_proxy", None) is False:
|
||||
podman_args.append("--http-proxy=false")
|
||||
for i in cnt.get("labels", []):
|
||||
podman_args.extend(["--label", i])
|
||||
for c in cnt.get("cap_add", []):
|
||||
|
Reference in New Issue
Block a user