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

Grouping containers by Compose invocation #1846

Closed
karolz-ms opened this issue Apr 9, 2020 · 4 comments · Fixed by #1876
Closed

Grouping containers by Compose invocation #1846

karolz-ms opened this issue Apr 9, 2020 · 4 comments · Fixed by #1876
Assignees
Milestone

Comments

@karolz-ms
Copy link
Contributor

karolz-ms commented Apr 9, 2020

Add new grouping option that groups together containers launched by the same docker-compose up invocation. This grouping option should be called "Compose". These containers can be identified by a common label called com.docker.compose.project

Also add a new group called "Label" that provides the ability to group containers by any label. When selected the user will be prompted in the command palette to enter the name of the label they want to group by.

In both cases the containers should be parented under each distinct label value (i.e. ComposeGroup1, ComposeGroup2, etc.). Containers that don't have the label be parented under an top node named "Other".

@karolz-ms karolz-ms added this to the 1.2.0 milestone Apr 9, 2020
@karolz-ms karolz-ms self-assigned this Apr 9, 2020
@bwateratmsft
Copy link
Contributor

I like this idea. In the group node, we might also be able to provide a 'Compose Down' command, as long as we can find the relevant compose file(s).

@ravipal
Copy link
Contributor

ravipal commented Apr 16, 2020

We decided to postpone the generic group by any label.

@ThaDaVos
Copy link

ThaDaVos commented May 13, 2020

EDIT: Ignore this.... I checked for updates there were none, checked again, now it updated and 'Compose Project Name' is now a group by options

Any progress on the Docker Compose grouping?
Having a group by docker-compose can make things so much easier!

Currently as workaround I'm grouping by network but I would love better Docker-Compose integration

@bwateratmsft
Copy link
Contributor

@ThaDaVos This is now released in 1.2.0!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants