extraDockerOptions, oci-containers openHAB

I’m trying to get openHAB docker image to use network=host.

I’m getting error using extraDockerOptions, but it might be named something else now?

virtualisation = {
    podman = {
      enable = true;
      dockerCompat = true;
    };
    oci-containers = {
      backend = "podman";    
      containers.openhab = {
        image = "openhab/openhab:3.4.1";
        autoStart = true;
        environment = { OPENHAB_HTTP_PORT = "8089"; };
        extraDockerOptions = ["--net=host"];
      };
    };
};

extraOptions not extraDockerOptions

1 Like