乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      docker刪除鏡像報(bào)錯處理

       jas0n_liu 2018-09-14
      1、刪除打標(biāo)簽的鏡像
      [root docker]# docker images
      REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
      ouruser/ruby        devel               6457c4b69c2e        21 minutes ago      300 MB
      ouruser                 ruby                6457c4b69c2e        21 minutes ago      300 MB
      使用image  id刪除鏡像:
      [root@localhost docker]# docker rmi 6457c4b69c2e
      Error response from daemon: conflict: unable to delete 6457c4b69c2e (must be forced) - image is referenced in multiple repositories
      可以用repository和tag的方式來刪除
      [root@localhost docker]# docker rmi ouruser/ruby:devel
      Untagged: ouruser/ruby:devel
      [root@localhost docker]# docker images                
      REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
      ouruser             ruby                6457c4b69c2e        23 minutes ago      300 MB

      2、刪除新commit的鏡像
      Error response from daemon: conflict: unable to delete 6ec9a5a0fc9f (cannot be forced) - image has dependent child images
      這樣的錯誤,原因是有另外的 image FROM 了這個 image,可以使用下面的命令列出所有在指定 image 之后創(chuàng)建的 image 的父 image
      #docker image inspect --format='{{.RepoTags}} {{.Id}} {{.Parent}}' $(docker image ls -q --filter since=xxxxxx)         xxxx為image id

      3、刪除none鏡像
      Error response from daemon: conflict: unable to delete b707620d204c (cannot be forced) - image has dependent child images
      查找出所有在指定 image 之后創(chuàng)建的 image 的父 image
      #docker image inspect --format='{{.RepoTags}} {{.Id}} {{.Parent}}' $(docker image ls -q --filter since=b707620d204c)
      [tingfeng/dockerfile_build_demo:latest] sha256:6586e000b464654f420b0aa9cf6c3c61cc29edfbbe7cc5cb5d6e0fe037efaf87 sha256:b707620d204ca475f13394b14614e1f2fde986931c925cd8cc8e8bb3de7debe3
      #docker rmi 6586e000b464
      刪除關(guān)聯(lián)的依賴鏡像,關(guān)聯(lián)的none鏡像也會被刪除

        本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多