diff --git a/authentik/outposts/controllers/docker.py b/authentik/outposts/controllers/docker.py index bfc83ff2b..c7192c8d6 100644 --- a/authentik/outposts/controllers/docker.py +++ b/authentik/outposts/controllers/docker.py @@ -81,7 +81,7 @@ class DockerController(BaseController): return False for port in self.deployment_ports: key = f"{port.inner_port or port.port}/{port.protocol.lower()}" - if key not in container.ports: + if not container.ports.get(key, None): return True host_matching = False for host_port in container.ports[key]: