microsoft / vscode-docker

Docker Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
Other
1.21k stars 515 forks source link

Running Compose commands via Containers doesn't respect `docker.commands.compose*` settings #4124

Closed akojo closed 11 months ago

akojo commented 11 months ago

I have a test project where I'd like to always run down --volumes to clean up volumes and start up afresh when restarting the setup.

When I run compose commands via file browser this can be configured via docker.commands.composeDown setting, but when I run "Compose Down" via extension's Containers section, it runs just down. Looking at composeGroup.ts confirms that it's not even possible to configure options for running compose commands via Containers.

Expected behavior: running "Compose Down" via file browser and Containers should behave identically.

dbreshears commented 11 months ago

Thanks for bringing this up. Unfortunately after discussion, given the amount of work this would require, I don't beleive we can prioritize this. Probably going to have to stick with just the File browser command having this customization capability.