Docker Community Forums

Share and learn in the Docker community.

Docker Compose Issue on Windows

Hi,

I don’t have docker for windows, but I’m using Docker Toolbox instead. I recently updated to the latest docker toolbox, and my volume bindings are no longer working.

volumes:
- C:\Users\main\Desktop\backend:/var/www/html

This is the line that I’ve having trouble with.

I get an “invalid bind mount spec” error when trying to build my container using docker compose.

I’ve tried all sorts of changes, but nothing seems to work. Has anyone else ran into this issue?