diff --git a/docker/bash.sh b/docker/bash.sh index 2a05abf4f2bc..372cfded8f89 100755 --- a/docker/bash.sh +++ b/docker/bash.sh @@ -38,7 +38,7 @@ set -euo pipefail function show_usage() { cat < [--] [COMMAND] @@ -95,7 +95,7 @@ DOCKER_IMAGE_NAME COMMAND The command to be run inside the docker container. If this is set - to "bash", both the --interactive and --net=host flags are set. + to "bash", the --interactive, --tty and --net=host flags are set. If no command is specified, defaults to "bash". If the command contains dash-prefixed arguments, the command should be preceded by -- to indicate arguments that are not intended for bash.sh. @@ -235,6 +235,7 @@ fi if [[ ${COMMAND[@]+"${COMMAND[@]}"} = bash ]]; then INTERACTIVE=true + TTY=true USE_NET_HOST=true fi