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)