mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
This commit is contained in:
parent
d2702d6d7b
commit
5bca9560c9
16 changed files with 278 additions and 10 deletions
|
@ -25,6 +25,15 @@ angular.module('portainer.docker')
|
|||
};
|
||||
};
|
||||
|
||||
helper.getImagesNamesForDownload = function(images) {
|
||||
var names = images.map(function(image) {
|
||||
return image.RepoTags[0] !== '<none>:<none>' ? image.RepoTags[0] : image.Id;
|
||||
});
|
||||
return {
|
||||
names: names
|
||||
};
|
||||
};
|
||||
|
||||
function extractNameAndTag(imageName, registry) {
|
||||
var imageNameAndTag = imageName.split(':');
|
||||
var image = imageNameAndTag[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue