Skip to content

[BUG] Update check fails when docker.sock isn't used #690

@sirlancelot

Description

@sirlancelot

Description

I have Dockhand operating over a socat http environment. When clicking "check for updates" in the About section I get no UI feedback. When I look at the inspector I see the following response from the API:

Image Image

Here's the compose file I use (with volumes removed):

services:
    socat:
        image: alpine/socat:latest
        command: tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock
        networks:
            - management
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
        deploy:
            restart_policy: &restart_policy
                condition: on-failure
                delay: 5s
                max_attempts: 3
                window: 60s

    dockhand:
        depends_on: ["socat"]
        image: fnsys/dockhand:latest
        ports:
            - "3000:3000"
        networks:
            - default
            - management
        deploy:
            restart_policy: *restart_policy

networks:
    management:
        internal: true

Steps to reproduce

  1. Go to Settings > About
  2. Click "Check for updates"
  3. Observe the UI spinner for a split second
  4. No further feedback

Logs

See screenshots

Browser logs

See screenshots

Dockhand version

1.0.9

Hawser version (if used)

No response

Connection mode

Direct IP

Please confirm the following

  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions