From 3196758efb6fb037ad1dcd082e96ad23c2cbc00f Mon Sep 17 00:00:00 2001 From: empyreus Date: Wed, 1 Apr 2026 18:29:43 +0000 Subject: [PATCH] remove container --- test/deploy/deploy.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/deploy/deploy.sh b/test/deploy/deploy.sh index fea8c1ae..ea754cf3 100644 --- a/test/deploy/deploy.sh +++ b/test/deploy/deploy.sh @@ -79,7 +79,13 @@ parallel-ssh -i -t 0 -h ${HOSTFILE} -x "-i ${KeyFilePath}" -O $SSH_OPTION \ "sudo docker pull ${CONTAINERIMAGE}" ############################################################################### -# 8. Launch Docker container +# 8. Remove any existing container with the same name +############################################################################### +parallel-ssh -i -t 0 -h ${HOSTFILE} -x "-i ${KeyFilePath}" -O $SSH_OPTION \ + "sudo docker rm -f ${CONTAINER_NAME} 2>/dev/null || true" + +############################################################################### +# 9. Launch Docker container ############################################################################### if [ "${CONTAINER_NAME}" == "sglang-mscclpp-test" ]; then