Skip to content

Add presentation options to Docker extension's compose commands #350

Description

Type: Feature Request

When running Docker Compose commands via the Docker extension UI (e.g., right-clicking a container and selecting "Compose Stop"), the terminal shows:

"* Terminal will be reused by tasks, press any key to close it."

This requires manual intervention to close the terminal after each command finishes.

Custom VS Code tasks support a presentation property to auto-close terminals:

"presentation": {
  "close": true
}

Activity

  1. changed the title [-]Setting to automatically close task when finished[/-] [+]Add presentation options to Docker extension's compose commands[/+] on Jan 22, 2026
  2. bwateratmsft commented on Jan 22, 2026

    @bwateratmsft
    Collaborator

    There are some commands (build, logs, etc.) that this probably shouldn't apply to. I think generally for those we use a flag to always create a new terminal window.

  3. itsdevandy commented on Jan 27, 2026

    @itsdevandy

    Hi Brandon Waterloo (@bwateratmsft), I'd like to work on this if it's open to external contributors.

  4. bwateratmsft commented on Jan 27, 2026

    @bwateratmsft
    Collaborator

    Andrew Devasia (@itsdevandy) yes, we are happy to accept external contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions