Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

Can't mount a volume on Windows 7 #607

Description

@denisvmedia

I'm getting this error when I run docker-composer up:

ERROR: for php  Cannot create container for service php: Invalid bind mount spec "D:\\Work\\docker\\project\\sites\\admin:/project_admin:rw": Invalid volume specification: 'D:\Work\docker\project\sites\admin:/project_admin:rw' ←[31mERROR←[0m: Encountered errors while bringing up the project.

Here is what I have in my docker-compose.yml:

        volumes:
            - ../sites/project:/project_admin

This works like charm in native Docker for Windows 10, but with Docker Toolbox on Windows 7 there is a problem. Is it a bug? Or what am I doing wrong?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions