diff --git a/changes/3341.fix.md b/changes/3341.fix.md new file mode 100644 index 0000000000..94db996769 --- /dev/null +++ b/changes/3341.fix.md @@ -0,0 +1 @@ +Fix image without metadata label not working diff --git a/src/ai/backend/agent/docker/agent.py b/src/ai/backend/agent/docker/agent.py index 2b43e9144b..8cf8d48b12 100644 --- a/src/ai/backend/agent/docker/agent.py +++ b/src/ai/backend/agent/docker/agent.py @@ -1311,8 +1311,8 @@ async def resolve_image_distro(self, image: ImageConfig) -> str: "HostConfig": { "Init": True, }, - "Entrypoint": "sh", - "Cmd": ["-c", "ldd", "--version"], + "Entrypoint": [""], + "Cmd": ["ldd", "--version"], } container = await docker.containers.create(container_config)