Can't run command in bat file as same as running on windows console

329 views Asked by At

I'm trying to run a docker container which has mapserver/tileserver. While running command with cmd, the command finds the right map to run but when same command run with bat file it is goes to it's default map and runs that map. How can I make my own map as default map?

@echo off

cmd /c docker run --rm -it -v %cd%:/data -p 8083:80 --name ta_mapserver klokantech/tileserver-gl

PAUSE

Here is my command in bat file.

Thanks for helping.

0

There are 0 answers