Skip to content

Commit 0dc8f63

Browse files
committed
fix: docker mirrored deployment volume mount
Signed-off-by: thxCode <[email protected]>
1 parent 869a3de commit 0dc8f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpustack_runtime/deployer/docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ def _prepare_create(self):
990990
# Always filter out Docker Socket mount.
991991
m
992992
for m in (self_container.attrs["Mounts"] or [])
993-
if m.get("Destination") == "/var/run/docker.sock"
993+
if m.get("Destination") != "/var/run/docker.sock"
994994
]
995995
if igs := envs.GPUSTACK_RUNTIME_DEPLOY_MIRRORED_DEPLOYMENT_IGNORE_VOLUMES:
996996
mirrored_mounts = [

0 commit comments

Comments
 (0)