Skip to content

[BUG] Missing documentation, that linuxserver/mods:universal-docker is also needed #1172

Open

Description

@1aam2am1

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

linuxserver/mods:swag-ondemand

Name of base container

lscr.io/linuxserver/swag:5.9.0

Current Behavior

2026-11-03 22:04:14 - MainThread - INFO - Starting swag-ondemand...
2026-11-03 22:04:14 - HealthcheckThread - INFO - Starting HealthcheckThread with a pool of 1 workers.

Missing log and mention of unix:///var/run/docker.sock

Expected Behavior

2026-11-03 22:08:35 - MainThread - INFO - Starting swag-ondemand...
2026-11-03 22:08:35 - HealthcheckThread - INFO - Starting HealthcheckThread with a pool of 1 workers.
2026-11-03 22:08:35 - HealthcheckWorker_0 - INFO - Connection to unix:///var/run/docker.sock has been restored

Steps To Reproduce

  1. Create swag docker, and add on-demand mod
  2. Add on-demand service and connect it to swag proxy
  3. Restart swag
  4. See ondemand.log
  5. Install also linuxserver/mods:universal-docker mod
  6. Restart swag
  7. Observe as in ondemand.log, we have connection to docker.sock and start of service monitoring

Environment

- OS: Debian 12
- How docker service was installed:distro's packagemanager

CPU architecture

arm64

Docker creation

services:
  swag:
    container_name: swag
    image: lscr.io/linuxserver/swag:5.9.0
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - URL=xxx
      - VALIDATION=dns
      - SUBDOMAINS=xxx #optional
#      - CERTPROVIDER= #optional
      - DNSPLUGIN=cloudflare #optional
#      - PROPAGATION=120 #optional
      - EMAIL=xxx@gmail.com #optional
      - ONLY_SUBDOMAINS=true #optional
#      - EXTRA_DOMAINS= #optional
      - STAGING=false #optional
      - DISABLE_F2B=true #optional
      - SWAG_AUTORELOAD=true #optional
#      - SWAG_AUTORELOAD_WATCHLIST= #optional

      - DOCKER_MODS=linuxserver/mods:universal-docker|linuxserver/mods:swag-ondemand|linuxserver/mods:swag-dashboard

      - SWAG_ONDEMAND_STOP_THRESHOLD=60
    volumes:
      - ./config:/config
      - '/var/run/docker.sock:/var/run/docker.sock:ro'
      - ./modcache:/modcache
    dns:
     - 1.1.1.1
    networks:
      swag_backend:
    restart: unless-stopped

  portainer-ce:
    container_name: portainer
    image: portainer/portainer-ce:latest
    restart: always
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock'
      - 'portainer_data:/data'
    networks:
      swag_backend:

volumes:
  portainer_data: {}

Container logs

2026-11-03 22:04:14 - MainThread - INFO - Starting swag-ondemand...
2026-11-03 22:04:14 - HealthcheckThread - INFO - Starting HealthcheckThread with a pool of 1 workers.
2026-11-03 22:08:35 - MainThread - INFO - Starting swag-ondemand...
2026-11-03 22:08:35 - HealthcheckThread - INFO - Starting HealthcheckThread with a pool of 1 workers.
2026-11-03 22:08:35 - HealthcheckWorker_0 - INFO - Connection to unix:///var/run/docker.sock has been restored
2026-11-03 22:08:40 - ContainerThread - INFO - Started monitoring portainer on unix:///var/run/docker.sock for urls: https://portainer.
2026-11-03 22:09:40 - ContainerThread - INFO - Stopped portainer on unix:///var/run/docker.sock after 60s of inactivity
2026-11-03 22:12:16 - ContainerThread - INFO - Started portainer on unix:///var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions