Skip to content

[BUG] Compose Validate error when using env_file: .env #1497

Closed

Description

@foxtrotcz

Description

When using

env_file:
      - .env

I get this error in Compose Validate.
Seems like false positive.

COMPOSE_SCHEMA_ERROR

env file /tmp/dockhand-validate-Vw8UaG/.env not found: stat /tmp/dockhand-validate-Vw8UaG/.env: no such file or directory

Reported by `docker compose config` - the file will not deploy as-is.
Image

Steps to reproduce

Just write any compose with:

env_file:
      - .env

Logs

No related logs

Browser logs

Dockhand version

v1.0.45

Hawser version (if used)

No response

Connection mode

local socket

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.

Activity

  1. added theissue type on Aug 30, 2026
  2. added this to the 1.0.46 milestone on Aug 30, 2026
  3. jotka commented on Sep 2, 2026

    @jotka
    Contributor

    released:

    • fnsys/dockhand:v1.0.46
    • fnsys/dockhand:latest
    • fnsys/dockhand:v1.0.46-baseline
    • fnsys/dockhand:latest-baseline
    • fnsys/dockhand:baseline
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

    bugSomething isn't workingready to gofixed, goes to the next release

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions