Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Interactive Docker Run #967

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

iksnagreb
Copy link
Contributor

When running some automated finn builds by some experiment manager doing parameter sweeps, the jobs failed with some TTY issues from within docker, which I have tracked down to the container being connected to a non-TTY output device. So I think there should be an option to disable DOCKER_INTERACTIVE, when it is not absolutely needed. This PR is certainly not ready (it just disables DOCKER_INTERACTIVE...). This is more of reminder, to myself that I rely on this being fixed...

This needs to be properly refactored and probably be exposed to the outside so the user is in control. Maybe default to interactive runs while introducing some flag to turn this off?

This needs to be properly refactored and probably be exposed to the
outside so the user is in control. Maybe default to interactive runs
while introducing some flag to turn this off?
@iksnagreb iksnagreb force-pushed the refactor/non-interactive branch from a208cd1 to c838f4e Compare April 3, 2024 15:17
Tests, notebooks and build flows now default to non-interactive docker
run while while the container-only option defaults to the interactive
bash prompt just as before.
@iksnagreb
Copy link
Contributor Author

This now exposes DOCKER_INTERACTIVE to the outside defaulting to "-it", i.e., the old default interactive run. Docker run can now be made non-interactive by setting DOCKER_INTERACTIVE="".

@iksnagreb iksnagreb marked this pull request as ready for review January 29, 2025 20:48
@iksnagreb iksnagreb changed the title WIP: Non-Interactive Docker Run Non-Interactive Docker Run Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant