Explorar el Código

hack: unmount leftover daemon root folders

Signed-off-by: Tibor Vass <tibor@docker.com>
Tibor Vass hace 6 años
padre
commit
13df617d4c
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      hack/make/.integration-daemon-stop

+ 2 - 0
hack/make/.integration-daemon-stop

@@ -10,6 +10,8 @@ if [ ! "$(go env GOOS)" = 'windows' ]; then
 		if ! wait "$pid"; then
 			echo >&2 "warning: PID $pid from $pidFile had a nonzero exit code"
 		fi
+		root=$(dirname "$pidFile")/root
+		umount "$root" || true
 	done
 
 	if [ -z "$DOCKER_TEST_HOST" ]; then