Skip to content

[BUG] Failed to evaluate path "C:\\<Mounted Drive>\\<Directory on Drive>" #3221

Open
@valaphee

Description

@valaphee

Description

When trying to run docker compose up --build it fails with Failed to evaluate path. It might have to do with that "Projects" is a NTFS mount point where my drive is mounted, and doesn't has a drive letter assigned.

docker build works just fine, docker compose build not.

Console output:

PS C:\Projects\CadaShop> docker compose up --build     
[+] Building 0.0s (1/1) FINISHED
 => [internal] load local bake definitions                                                                                                                                                          0.0s
 => => reading from stdin 340B                                                                                                                                                                      0.0s
failed to evaluate path "C:\\Projects\\CadaShop": The system cannot find the path specified.

Shortened docker-compose.yml

services:
  myservice:
    build: .

Steps To Reproduce

  1. Clean install of Windows
  2. Create a new partition, and instead of assigning a drive letters, use a NTFS mount point
  3. Create a docker-compose.yml in your directory on the drive with build: .
  4. (Set env COMPOSE_BAKE=true)
  5. docker compose up --build

Compose Version

Docker Compose version v2.36.0-desktop.1

Docker Environment


Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions