Skip to content

Dokploy shows running container as not running (no green icon and cannot stop) #4617

Description

@finnvyrn

To Reproduce

Use this compose:

services:
  agent-zero:
    image: agent0ai/agent-zero
    container_name: agent-zero
    ports:
      - "21671:80"
    volumes:
      - agent_zero_data:/a0/usr
      - /opt/flutter:/opt/flutter:ro
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: unless-stopped

volumes:
  agent_zero_data:
    driver: local

Deploy it.
Stop it.
Restart docker.
Go to log tab to observe the container is running but the compose app doesn't have green icon and the stop button cannot be tapped.

Current vs. Expected behavior

Expected: The app has green icon and the stop button can be tapped.

Image

Provide environment information

OS: Arch Linux x86_64
Kernel: Linux 7.0.11-1-cachyos-bore
Dokploy: v0.29.8

Which area(s) are affected? (Select all that apply)

Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions