folder.view2 icon indicating copy to clipboard operation
folder.view2 copied to clipboard

Fix docker compose containers not being grouped into folders

Open adamaru opened this issue 5 months ago • 0 comments

This fixes docker compose containers not being grouped correctly into folders. The issue was mentioned multiple times in the support thread.

Cause: Containers created with docker compose do not have a link in their title on the list as the standard ones do. Searching by their name queried td.ct-name .appname a which didn't give any results.

Docker compose container HTML:

<span class="inner">
    <span class="appname ">example-container-name</span><br>
    <i id="load-ffffffffffff" class="fa fa-play started green-text"></i>
    <span class="state">started<br>Compose Stack: example-stack-name</span>
</span>

Standard Unraid docker container HTML:

<span class="inner">
    <span class="appname ">
        <a class="exec" onclick="editContainer('example-container-name','/boot/config/plugins/dockerMan/templates-user/my-example-container-name.xml')">example-container-name</a>
    </span><br>
    <i id="load-ffffffffffff" class="fa fa-play started green-text"></i>
    <span class="state">started</span>
</span>

Changing the query to td.ct-name .appname fixes docker compose issues and does not interfere with standard containers.

adamaru avatar Jun 29 '25 23:06 adamaru