forked from wsavran/pycsep_esrl_reproducibility
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_docker.bat
24 lines (21 loc) · 953 Bytes
/
run_docker.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
echo.
echo Launching Docker container
echo ==========================
docker run -it --rm^
--mount type=bind,source="%cd%"\figures,target=/app/figures^
--mount type=bind,source="%cd%"\results,target=/app/results^
--mount type=bind,source="%cd%"\data,target=/app/data,readonly^
--mount type=bind,source="%cd%"\forecasts,target=/app/forecasts,readonly^
pycsep_esrl
REM Alternative #1:
REM docker run -it --rm^
REM -v "%cd%"\figures:/app/figures -v "%cd%"\results:/app/results -v "%cd%"\data:/app/data -v "%cd%"\forecasts:/app/forecasts^
REM pycsep_esrl bash
REM Alternative #2 (passes command to WSL)
REM wsl docker run -it --rm^
REM --mount type=bind,source="$(pwd)"/figures,target=/app/figures^
REM --mount type=bind,source="$(pwd)"/results,target=/app/results^
REM --mount type=bind,source="$(pwd)"/data,target=/app/data,readonly^
REM --mount type=bind,source="$(pwd)"/forecasts,target=/app/forecasts,readonly^
REM pycsep_esrl