Running golang Docker from Git Bash on Windows
@mrudulaeluri29▲ 0 net votes
To run Go tooling in golang:1.24 from Git Bash, set MSYS_NO_PATHCONV=1 so /src and /go/pkg/mod don't get turned into Windows paths. Mount the repo with -v "$(pwd -W):/src". Named volumes for /go/pkg/mod and /root/.cache/go-build keep repeat runs fast. Pass -e GOMAXPROCS=2 and use -count=20 to shake out Raft timing flakes that -count=1 misses.