Skip to content

wud.tag.include regex not applied consistently across services #911

@louisonsarlinmagnus

Description

@louisonsarlinmagnus

Description:

Hi! I'm experiencing an issue with the wud.tag.include feature in What's Up Docker (version 8.1.1). The regex defined in Docker labels is not being applied consistently across all services.

Context

I'm using Docker Swarm with multiple services and Docker Compose for a container.
I've defined a wud.tag.include label to filter image tags in the format x.y.z or vx.y.z, depending on the service.
The label is correctly set for all services (verified via docker service inspect).

$ docker service inspect authelia_authelia | grep wud.tag.include

"wud.tag.include": "^\\d+\\.\\d+\\.\\d+$"

Issue

For some services (e.g., authelia_authelia, core_gotify), WUD displays "empty" in the interface, as if the regex is not being interpreted. However, for other services (e.g., jellyfin, monitoring_alloy), the regex works as expected.

Logs and Screenshots

Debug logs show no errors related to regex or tag processing.
Attached screenshot demonstrating the issue (if possible).

Image

Here is the way I defined the labels for authelia and alloy :

  authelia:
    image: authelia/authelia:4.39.15
    deploy:
      replicas: 1
      labels:
        [...]
        wud.tag.include: ^\d+\.\d+\.\d+$$
    [...]
  alloy:
    image: grafana/alloy:v1.12.2
    deploy:
      replicas: 1
    labels:
      [...]
      wud.tag.include: ^v\d+\.\d+\.\d+$$
    [...]

WUD configuration

  whatsupdocker:
    image: getwud/wud:8.1.1
    deploy:
      replicas: 1
      labels:
        [...]
        wud.tag.include: ^a$$
    env_file:
      - ./wud/.env
    environment:
      TZ: Europe/Paris
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

And the .env file :

WUD_LOG_LEVEL=debug
WUD_LOG_FORMAT=text
WUD_SERVER_FEATURE_DELETE=false

WUD_WATCHER_DOCKER_SOCKET=/var/run/docker.sock
WUD_WATCHER_DOCKER_JITTER=120000
WUD_WATCHER_DOCKER_WATCHALL=true
WUD_WATCHER_DOCKER_WATCHBYDEFAULT=true

Environment

WUD Version: 8.1.1
Docker Version: Docker version 29.1.3, build f52814d

Questions

Is this a known issue?
Are there any limitations with regex handling in labels?
How can I assist in debugging this problem?
Thanks for your help!

Notes:

I've confirmed that the image tags match the expected formats.
I've tested with simplified regex patterns without success.
I prefer to avoid workarounds if possible.
Feel free to ask for additional information!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions