From 20b8208886d5e3818dda025c08b40cf884fce190 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Tue, 9 Dec 2025 21:11:26 +0000 Subject: [PATCH] Fix extra hosts transformation --- supervisor/docker/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/docker/manager.py b/supervisor/docker/manager.py index 1fe652871..1c40802b6 100644 --- a/supervisor/docker/manager.py +++ b/supervisor/docker/manager.py @@ -392,7 +392,7 @@ class DockerAPI(CoreSysAttributes): if restart_policy: host_config["RestartPolicy"] = restart_policy if extra_hosts: - host_config["ExtraHosts"] = extra_hosts + host_config["ExtraHosts"] = [f"{k}:{v}" for k, v in extra_hosts.items()] if mounts: host_config["Mounts"] = [mount.to_dict() for mount in mounts] if oom_score_adj is not None: