Delete the exited container after running python bazel_deps.sh
diff --git a/tools/distrib/python/bazel_deps.sh b/tools/distrib/python/bazel_deps.sh
index 5f4ee1d..67896f1 100755
--- a/tools/distrib/python/bazel_deps.sh
+++ b/tools/distrib/python/bazel_deps.sh
@@ -26,6 +26,7 @@
   docker build -t bazel_local_img tools/dockerfile/test/sanity
   docker run -v "$(realpath .):/src/grpc/:ro" \
     -w /src/grpc/third_party/protobuf         \
+    --rm=true                                 \
     bazel_local_img                           \
     bazel query 'deps('$1')'
 fi