cuus, mam tady docker na ws2012. Po spouste srani to funguje pres docker-machine s virtualbox driverem
Mam skript.bat
docker-machine start default
FOR /f "tokens=*" %%i IN ('docker-machine env default') DO @%%i
docker run my-image
FOR /f "tokens=*" %%i IN ('docker ps -a -q') DO docker rm %%i
FOR /f "tokens=*" %%i IN ('docker images -q -f "dangling=true"') DO docker rmi %%i
docker-machine stop default
kdyz skript pustim pres cmd.exe tak vse funguje, ale kdyz ho pustim jako task pres task scheduler, tak dostavam
error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=h3q9gxeprezyco28agiqe9jp2&shmsize=0&t=node_curd_exe&target=&ulimits=null&version=1:
open //./pipe/docker_engine: The system cannot find the file specified.
In the default daemon configuration on Windows, the docker client must be run elevated to connect.
This error may also indicate that the docker daemon is not running.
zkouseli jsme poustet ten task se zaskrtnutym "Run with highest privileges", ale furt to same. Win ekosystemu moc nerozumim, netusite jak funguji prava a pristupy a jestli ten task scheduler ma nejaky specialni rezim?