if not exist "%cd%\docker\linux\target" mkdir "%cd%\docker\linux\target" if not exist "%cd%\docker\linux\cargo" mkdir "%cd%\docker\linux\cargo" docker run --rm ^ -e CARGO_HOME="/tmp/cargo" ^ -v "%cd%":/usr/src/rsddns ^ -v "%cd%\docker\linux\target":/usr/src/rsddns/target ^ -v "%cd%\docker\linux\cargo":/tmp/cargo ^ -w /usr/src/rsddns ^ rust:1.31-stretch ^ cargo build --release && strip /usr/src/rsddns/target/release/rsddns