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

Pass Dockerode ExecStartOptions to StartedGenericContainer.exec #395

Merged
merged 8 commits into from Sep 18, 2022

Conversation

Ovich
Copy link
Contributor

@Ovich Ovich commented Sep 14, 2022

For now the StartedGenericContainer.exec only takes Command[] as argument. startExec sends a hardcoded Dockerode.ExecStartOptions to Dockerode.Exec.

It might be intressting to send an optional exec options object to StartedGenericContainer.exec. In our use case we need the container to run in "tty : false" mode.

@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Sep 14, 2022
@cristianrgreco
Copy link
Collaborator

thanks for addressing the feedback @Ovich

@cristianrgreco cristianrgreco merged commit 6f89717 into testcontainers:master Sep 18, 2022
@cristianrgreco
Copy link
Collaborator

@Ovich released in 8.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Backward compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants