FredTingaud / bench-runner

Docker runner for build-bench
267 stars 32 forks source link

Script to create a container on windows #9

Open Bigous opened 2 years ago

Bigous commented 2 years ago

Windows have some differences on mapping things (like docker.sock).

I think windows people like to manage the containers in the gui, so create one container and starting and stoping it from there is much more "windows like".

Guiorgy commented 3 months ago

If you are using CMD:

docker run -p 4000:4000 -v %cd%/data:/data -v /var/run/docker.sock:/var/run/docker.sock --env-file local.env -e BENCH_ROOT=%cd% -it fredtingaud/bench-runner ./start-quick-bench
docker run -p 4000:4000 -v %cd%/data:/data -v /var/run/docker.sock:/var/run/docker.sock --env-file local.env -e BENCH_ROOT=%cd% -it fredtingaud/bench-runner ./start-build-bench