docker

2015-12-02  本文已影响0人  jl

@echo off
REM set hostsfile=%windir%\System32\drivers\etc\hosts
REM set temphostsfile=temphosts.txt
REM set domain=xixi.io
REM
REM findstr /v/c:"%domain%" %hostsfile% > %temphostsfile%
REM echo %domain% >> %temphostsfile%
REM move /y %temphostsfile% %hostsfile%

REM start(create if needed) docker machine
set dockermachinename=xixi
docker-machine ls | findstr /c:"%dockermachinename%"

上一篇下一篇

猜你喜欢

热点阅读