Add local docker cmd shim for Windows
This commit is contained in:
13
docker.cmd
Normal file
13
docker.cmd
Normal file
@@ -0,0 +1,13 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
set "DOCKER_EXE=C:\Program Files\Docker\Docker\resources\bin\docker.exe"
|
||||
|
||||
if exist "%DOCKER_EXE%" (
|
||||
"%DOCKER_EXE%" %*
|
||||
exit /b %ERRORLEVEL%
|
||||
)
|
||||
|
||||
echo Docker executable not found: "%DOCKER_EXE%"
|
||||
echo Install Docker Desktop or update this shim path.
|
||||
exit /b 1
|
||||
Reference in New Issue
Block a user