docker

作者: jl | 来源:发表于2015-12-02 11:18 被阅读0次

    @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%"

    相关文章

      网友评论

          本文标题:docker

          本文链接:https://www.haomeiwen.com/subject/vcajhttx.html