diff options
author | xudan <xudan16@huawei.com> | 2016-12-29 07:31:32 +0000 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2017-01-06 02:44:38 +0000 |
commit | 16a21a191c86a87d5e84dab24bde8585386ee8c3 (patch) | |
tree | 5f4bb9e3ca409318c28da5cc1ce4efd99680e0ce /docker | |
parent | d8a21638b012c5036ac1303d5fe055a73d8ff1b7 (diff) |
dovetail tool: remove old image when pulling new one successfully
1. split function pull_image into four functions, get_image_id, pull_image_only,
remove_image and pull_image.
2. after pulling new version of the image, remove the old one with tag <none>.
JIRA: DOVETAIL-171
Change-Id: I2d2a9d6a8bc2308d434d0a3c76aa24bf5b39bfd7
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'docker')
0 files changed, 0 insertions, 0 deletions