Skip to content

Add support for swarm #472

@crisz

Description

@crisz

Hello,

I'm using this vscode extension, and I'm really satisfied with it. However, while it works great with docker compose, I notice a lack of support for docker swarm.

It's not like it's not working at all, but all the containers are just shown as "individual containers", lacking the grouping that you would instead see by using docker compose.

I partially solved the problem by adding these two settings:


    "containers.containers.groupBy": "Label",
    "containers.containers.groupByLabel": "com.docker.stack.namespace",

which improves the grouping, but the container names are still prefixed with the stack name, which feels redundant.

Is it possible to automatically detect when a container is part of a swarm, and thus improve the output?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions