From 119ce79c5125367cfcef14af3678509105398337 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 25 Oct 2019 11:10:04 -0600 Subject: Allow injection of custom options to shell command --- bin/docker-shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/docker-shell') diff --git a/bin/docker-shell b/bin/docker-shell index 1859770..b50e796 100755 --- a/bin/docker-shell +++ b/bin/docker-shell @@ -6,4 +6,4 @@ cd "$(dirname "$0")/.." IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} -docker run --rm -it --entrypoint='' "$IMAGE_NAME" /bin/sh +docker run --rm -it --entrypoint='' $1 "$IMAGE_NAME" /bin/bash -- cgit v1.2.3