Docker
Docker run failed in Git Bash because the mount destination was not absolute
Docker Desktop received a malformed mount destination because Git Bash rewrote the path expression before Docker evaluated the bind mount.
Docker
Docker Desktop received a malformed mount destination because Git Bash rewrote the path expression before Docker evaluated the bind mount.
Observed message
docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination:\Program Files\Git\work Type:bind Source:/run/desktop/mnt/host/c/Users/user/work;C Options:[rbind rprivate]}: mount destination \Program Files\Git\work not absolute: unknown.Why it happens
How to fix it
Official reference
Docker Docs: Common topics - Docker commands failing in Git BashRelated errors
Explore more