Closed jamesnetherton closed 7 years ago
Hi thanks for the report, in fact this behaviour is implemented in docker-java
library and not cube itself. I am going to check if any new version of docker-java
fixes this/it is the expected behaviour and then decide where to fix it. Thank you very much for using cube.
In fact notice that according to Docker documentation:
tag – Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled.
So it is the expected behaviour so it is not a bug. What we are going to do in Cube is to set latest
in case of not setting a tag.
Issue Overview
I wiped out all of my Docker images and ran a WildFly Arquillian Cube test. Here's what the cube config looked like:
Note that I did not specify a tag on the image. My test was hung at this message:
When I ran
docker images
, I noticed that every tag for the image was being pulled.Expected Behaviour
If no tag is specified on the image name then I'd expect that only
latest
is pulled. I can't think of a scenario where I'd want every tag to be pulled (think how much bandwidth & disk space that could potentially use up :smile: ).Current Behaviour
All tags are pulled.
Steps To Reproduce
wildflyext/wildfly-camel
(or whatever) is not present on the hostimage
attribute has no tag specified