diff --git a/podman_compose.py b/podman_compose.py index d61a40e..378a285 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -762,7 +762,9 @@ def get_net_args(compose, cnt): is_bridge = False net = cnt.get("network_mode", None) if net: - if net == "host": + if net == "none": + is_bridge = False + elif net == "host": net_args.extend(["--network", net]) elif net.startswith("slirp4netns:"): net_args.extend(["--network", net])