Skip to content

Commit

Permalink
[windows] fix access denied
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas authored Jan 16, 2019
1 parent bd5caf5 commit 0861b07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions windows/datashare.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@echo off

docker ps >NULL 2>&1
docker info 2>NUL

if ERRORLEVEL 1 (
echo docker is not running, launching it
start "" "\Program Files\Docker\Docker\Docker for Windows.exe"
Expand Down Expand Up @@ -29,7 +30,7 @@ exit /B %ERRORLEVEL%
:wait_docker_is_up
echo|set /p="waiting for docker to be up"
for /l %%x in (1, 1, 60) do (
docker ps >NULL 2>&1
docker info 2>NUL
if not ERRORLEVEL 1 (
echo OK
exit /B 0
Expand Down

0 comments on commit 0861b07

Please sign in to comment.