Proposal: docker_images load image without specifying a name
Author: David Zisky <@DavidZisky>
Date: 2018/07/18
Status: New
Proposal type: improvement
Targeted Release: 2.7?
Associated PR: -
Estimated time to implement: few days?
Motivation
It would drastically improve the usability of this module in regards to loading images. When loading docker images from file manually You don't need to specify the name of the image (because docker gets it from the file itself). That should be the same for ansible as currently, it don't allow to build any automation if You need to download some images from other hosts or (in my particular case) you have one tar file in which there are few different images saved. In this case, docker_images will not be able to load images from that file (because You can only specify one name)
Problems
Loading few images saved in one tar file
Loading images for which You don't know the name upfront (for example if You want to get latest version not knowing exactly what the version is or simply dev team is saving images to file and their name are hashed or so
Solution proposal
"Name" parameter should not be required if load_path is specified (and name itself should be determined by ansible/docker)
Or "Name" can persist required but should have some value like "as original" or "as_load"
Dependencies (optional)
not sure
Testing (optional)
Simply try to load docker image from tar file without specifying the name and loading few docker images from one tar file
Documentation (optional)
Just small addition/explanation how was it implemented in regards to "Name" parameter
Proposal: docker_images load image without specifying a name
Author: David Zisky <@DavidZisky>
Date: 2018/07/18
Motivation
It would drastically improve the usability of this module in regards to loading images. When loading docker images from file manually You don't need to specify the name of the image (because docker gets it from the file itself). That should be the same for ansible as currently, it don't allow to build any automation if You need to download some images from other hosts or (in my particular case) you have one tar file in which there are few different images saved. In this case, docker_images will not be able to load images from that file (because You can only specify one name)
Problems
Solution proposal
Dependencies (optional)
Testing (optional)
Simply try to load docker image from tar file without specifying the name and loading few docker images from one tar file
Documentation (optional)
Just small addition/explanation how was it implemented in regards to "Name" parameter