diff --git a/src/ai/backend/agent/docker/kernel.py b/src/ai/backend/agent/docker/kernel.py index edd91122aa..427ca6cfa3 100644 --- a/src/ai/backend/agent/docker/kernel.py +++ b/src/ai/backend/agent/docker/kernel.py @@ -83,6 +83,8 @@ def __getstate__(self): return props def __setstate__(self, props): + if "network_driver" not in props: + props["network_driver"] = "bridge" super().__setstate__(props) async def create_code_runner(