Skip to content

Stack with explicit name is not recognized #878

@Fumblesneeze

Description

@Fumblesneeze

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

docker compose lets you explicitly set the name of the stack by adding a top level name field like:

name: my-stack
services:
...

however this is not recognized by dockge and it displays the stack as inactive, even though the stack and all containers are up and running, and the containers in the stack are even recognized by dockge.

👟 Reproduction steps

add

name: my-stack

to the top level of a docker compose file

👀 Expected behavior

dockge should either display the stack with the name that was explicitly set up, or at least recognize the changed stack name when determining the state of the stack.

😓 Actual Behavior

dockge shows such a stack as inactive.

Dockge Version

Version: 1.5.0

💻 Operating System and Arch

Docker

🌐 Browser

Edge

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions