Skip to content

Windows: missing secrets file creates file-named directory [again] #13310

Description

@filimonic

docker compose up creates folder named as secret file when file does not exist

> docker compose version
Docker Compose version v2.40.0-desktop.1
> docker compose up
name: test
secrets:
  sample_secret:
    file: ./sample.secret
services:
  sample:
    image: "alpine:latest"
    secrets:
      - sample_secret

I'm still seeing this problem with Docker Compose version v2.32.4-desktop.1 on Windows.

Originally posted by @Kylotan in #8305

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions