vscode-docker icon indicating copy to clipboard operation
vscode-docker copied to clipboard

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

Open kwalker-plxs opened this issue 1 year ago • 0 comments

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.

kwalker-plxs avatar Oct 11 '24 20:10 kwalker-plxs