Issue Description
When running CLP package commands in the background using &, no output is printed to the console. For example:
./sbin/compress.sh ~/samples/hive-24hr &
Root Cause
The docker compose run command overrides the tty and stdin_open options defined in service configurations (source), even when neither the --no-TTY nor the --interactive flag is specified. This means docker compose run automatically sets tty: true when it detects a TTY-capable terminal and always sets stdin_open: true, regardless of the values defined in docker-compose.yaml.
Proposed Solution
- Remove
tty: true and stdin_open: true from tools/deployment/package/docker-compose.runtime.yaml to avoid confusion
- Add
--no-TTY flag to all docker compose run commands in the sbin scripts
Context
Reported by @junhaoliao in PR #1512: #1512 (comment)
Issue Description
When running CLP package commands in the background using
&, no output is printed to the console. For example:Root Cause
The
docker compose runcommand overrides thettyandstdin_openoptions defined in service configurations (source), even when neither the--no-TTYnor the--interactiveflag is specified. This meansdocker compose runautomatically setstty: truewhen it detects a TTY-capable terminal and always setsstdin_open: true, regardless of the values defined indocker-compose.yaml.Proposed Solution
tty: trueandstdin_open: truefromtools/deployment/package/docker-compose.runtime.yamlto avoid confusion--no-TTYflag to alldocker compose runcommands in the sbin scriptsContext
Reported by @junhaoliao in PR #1512: #1512 (comment)