Skip to content

Script to create a container on windows#9

Open
Bigous wants to merge 2 commits into
FredTingaud:mainfrom
Bigous:main
Open

Script to create a container on windows#9
Bigous wants to merge 2 commits into
FredTingaud:mainfrom
Bigous:main

Conversation

@Bigous

@Bigous Bigous commented Oct 20, 2022

Copy link
Copy Markdown

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".

docker run without --name switch should always run with --rm to avoid creating a container each time it runs
  which never is executed again and never is deleted.
@Guiorgy

Guiorgy commented Aug 10, 2024

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants