Docker如何清除图像的部分失败下载?

时间:2015-12-20 13:21:57

标签: macos docker docker-compose

我在OS X中使用docker工具箱。当我运行docker-compose pull并且网络被切断时,在我解决问题后,下载不会恢复。有没有办法清除或无效Docker镜像的部分下载?

1 个答案:

答案 0 :(得分:2)

首先检查清理悬空图像是否足够:

[{
    "domain": "www.example.com",
    "expirationDate": 1482144640.897115,
    "hostOnly": true,
    "httpOnly": true,
    "name": "password",
    "path": "/",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "8ff31b0edcf85b72b20469044dafc373",
    "id": 1
  },
  {
    "domain": "www.example.com",
    "hostOnly": true,
    "httpOnly": true,
    "name": "sessionhash",
    "path": "/",
    "secure": false,
    "session": true,
    "storeId": "0",
    "value": "13d0e4ff1bdeefbe118df4ad04c81a2e",
    "id": 2
  }]