<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      我只想在Windows Server 2019上build 基于Linux的Docker

      周末回家忘了帶筆記本電源,電源耗盡,只能在家里的Windows Server 2019上繼續工作,而當我在Windows Server 2019中用Docker Build我的Docker鏡像的時候,出現如下錯誤:

      Using default tag: latest
      latest: Pulling from library/node
      no matching manifest for unknown in the manifest list entries

      我才意識到Windows Server 2019上安裝的Docker是Windows容器的:

      PS C:\Users\Administrator> docker version
      Client: Docker Engine - Enterprise
       Version:           18.09.4
       API version:       1.39
       Go version:        go1.10.8
       Git commit:        c3516c43ef
       Built:             03/27/2019 18:22:15
       OS/Arch:           windows/amd64
       Experimental:      false
      
      Server: Docker Engine - Enterprise
       Engine:
        Version:          18.09.4
        API version:      1.39 (minimum version 1.24)
        Go version:       go1.10.8
        Git commit:       c3516c43ef
        Built:            03/27/2019 18:20:29
        OS/Arch:          windows/amd64
        Experimental:     false

      我第一個想到要在Windows Server 2019構建基于Linux OS的Docker的方法就是安裝WSL(Windows Subsystem for Linux), 然后在WSL中安裝Docker。

      開始行動,參考這篇文章:https://docs.microsoft.com/en-us/windows/wsl/install-on-server

      首先,開啟WSL:

      Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

      然后按照這篇文章下載自己喜歡的Linux 子系統:https://docs.microsoft.com/en-us/windows/wsl/install-manual

       

       我選擇的是Ubuntu 18/04,下載后解壓出來,然后運行:

      Rename-Item ./Ubuntu-1804.appx ./Ubuntu.zip
      Expand-Archive ./Ubuntu.zip ./Ubuntu

      解壓出來:

       

       

      直接執行ubuntu1804.exe安裝ubuntu子系統,安裝后進入ubuntu執行初始化工作,然后準備在WSL中安裝docker:

      sudo apt-get update
      sudo apt-get install docker-ce docker-ce-cli containerd.io
      sudo docker run hello-world
      Hello from Docker!
      This message shows that your installation appears to be working correctly.
      
      To generate this message, Docker took the following steps:
       1. The Docker client contacted the Docker daemon.
       2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
          (amd64)
       3. The Docker daemon created a new container from that image which runs the
          executable that produces the output you are currently reading.
       4. The Docker daemon streamed that output to the Docker client, which sent it
          to your terminal.
      
      To try something more ambitious, you can run an Ubuntu container with:
       $ docker run -it ubuntu bash
      
      Share images, automate workflows, and more with a free Docker ID:
       https://hub.docker.com/
      
      For more examples and ideas, visit:
       https://docs.docker.com/get-started/

      恭喜你安裝成功

      期間遇到很多問題:解決方法當時沒有記錄下來,可以參考下面幾篇文章:

      https://zhuanlan.zhihu.com/p/39187620

      但是還是有點問題,DNS問題,使用npm install的報錯:

      npm ERR! code EAI_AGAIN
      npm ERR! errno EAI_AGAIN
      npm ERR! request to https://registry-node.aliyun.com/org/1502272316663857/registry/cmgp/@cmgp%2fcommon failed, reason: getaddrinfo EAI_AGAIN registry-node.aliyun.com registry-node.aliyun.com:443
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-01-04T04_22_31_732Z-debug.log
      The command '/bin/sh -c npm install' returned a non-zero code: 1

      目前還在尋找解決方案中

      posted @ 2020-01-11 16:11  tubo  閱讀(2909)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 久久精品国产字幕高潮| 蜜桃久久精品成人无码av| 亚洲另类激情专区小说图片| 成人免费A级毛片无码片2022 | 国产美女高潮流白浆视频| 大地资源中文第二页日本| 久久精品国产一区二区三| 好爽好紧好大的免费视频| 亚洲国产婷婷综合在线精品| 亚洲午夜精品久久久久久抢| 偷拍一区二区三区在线视频| 亚洲成色在线综合网站| 国产91小视频在线观看| 99久久婷婷国产综合精品青草漫画| 柳江县| 男人用嘴添女人私密视频| 成人亚洲av免费在线| 成人麻豆日韩在无码视频| 国产黄色av一区二区三区| 国产无套内射普通话对白| 广河县| 亚洲精品漫画一二三区| 国产精品小粉嫩在线观看| 产综合无码一区| 国产精品 亚洲一区二区三区| 亚洲熟妇自偷自拍另类| 麻豆亚洲精品一区二区| 亚洲精品日韩中文字幕| 国产精品深夜福利免费观看 | 涩涩爱狼人亚洲一区在线| 国产亚洲精品俞拍视频| 少妇无套内谢免费视频| 不卡视频在线一区二区三区| 国产中文三级全黄| 国产迷姦播放在线观看| 亚洲精品一区二区制服| 日本伊人色综合网| 国产乱色国产精品免费视频| 90后极品粉嫩小泬20p| 亚洲嫩模喷白浆在线观看| 一二三四日本高清社区5|