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

[Feature Request] Docker Run Task does not support attached container #4396

Open
kwalker-plxs opened this issue Oct 11, 2024 · 0 comments
Open
Milestone

Comments

@kwalker-plxs
Copy link

Context

Consider a project with a C++ development environment that has some associated markdown files that are rendered via MkDocs. The docker image for the development environment is different than the one used to render the MkDocs. Developers wish to render MkDocs using this other image, but need to be able to see build output so they can debug issues.

Current Behavior
The Docker Run task only supports running containers in the detached mode, so the terminal does not attach to the container when it is started via the task.

Current Workaround
Authored a shell script that executes docker run with no --detached flag.

Desired Behavior
The Docker Run task should allow the user to configure if the container should be ran detached.

@dbreshears dbreshears added this to the Future milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants