-
-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Description
Expected Behaviour
Container should start on windows-2025 (or windows-latest) GitHub runner.
Actual Behaviour
An error is thrown: invalid volume specification: '//var/run/docker.sock:/var/run/docker.sock:rw'
Testcontainer Logs
Error: (HTTP code 500) server error - invalid volume specification: '//var/run/docker.sock:/var/run/docker.sock:rw'
at C:\a\asciidoctor-kroki\asciidoctor-kroki\node_modules\docker-modem\lib\modem.js:383:17
at getCause (node_modules\docker-modem\lib\modem.js:418:7)
at Modem.buildPayload (node_modules\docker-modem\lib\modem.js:379:5)
at IncomingMessage.<anonymous> (node_modules\docker-modem\lib\modem.js:347:16)
at IncomingMessage.emit (node:events:519:35)
at endReadableNT (node:internal/streams/readable:1701:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Steps to Reproduce
You can clone this repository https://github.com/ggrossetie/testcontainers-node-windows and run the GitHub Actions.
As you can see, it's running fine on Linux but it fails on Windows: https://github.com/ggrossetie/testcontainers-node-windows/actions/runs/16575193079/job/46877612649
Environment Information
- Operating System:
windows-2025https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md - Docker Version: 27.5.1
- Node version: 24.4.1
- Testcontainers version: 11.4.0
Metadata
Metadata
Assignees
Labels
No labels