Browse Source

Update docker.sh

MoeClub 3 years ago
parent
commit
670016e1f4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docker.sh

+ 1 - 0
docker.sh

@@ -2,6 +2,7 @@
 
 dockerVer="${1:-20.10.17}"
 
+ps -C dockerd -o pid= |xargs kill -9 >/dev/null 2>&1
 rm -rf /usr/bin/docker-init
 rm -rf /usr/bin/containerd
 rm -rf /usr/bin/ctr