Simplify docker run execution in a way that still handles SIGINT & SIGTERM

This commit is contained in:
Karl Isenberg
2016-01-05 17:55:52 -08:00
parent 3d96de594c
commit acef0404e5
2 changed files with 30 additions and 72 deletions

View File

@@ -56,7 +56,7 @@ echo "${DOCKER_BIN_PATH}"
# Clean (k8s output & images), Build, Kube-Up, Test, Kube-Down
cd "${KUBE_ROOT}"
exec docker run \
docker run \
--rm \
-v "${KUBE_ROOT}:/go/src/github.com/GoogleCloudPlatform/kubernetes" \
-v "/var/run/docker.sock:/var/run/docker.sock" \