Skip to content

Docker compose path mapping on Windows #221

@scetix

Description

@scetix

There is an issue binding compose file on Windows systems, since there is a direct mapping from Windows to Linux filesystem with drive letter. The issue seems to be in DockerComposeContainer.java:

String pwd = composeFile.getAbsoluteFile().getParentFile().getAbsolutePath();
addEnv("COMPOSE_FILE", pwd + "/" + composeFile.getAbsoluteFile().getName());
addFileSystemBind(pwd, pwd, READ_ONLY);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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