Too many colons in Source path creating container on Windows machine


I am having an issue creating from docker compose on a windows 11 machine using docker version 24.0.5. I am creating a service and declaring the container name but when the compose creates the container I get the error

  • Container Creating 0.0s
    Error response from daemon: mount denied:
    the source path “\Users\\AppData\Roaming/ASP.NET/Https:C:\Users\ContainerUser\AppData\Roaming\ASP.NET\Https:ro”
    too many colons

Can anybody tell me where the source path is being generated and how I set it to solve the too many colons issue


Ok sorted now it was caused by adding VS docker support that added a compose override file with volumes of the concatenated directories above. Deleting this file solved the issue