-
I'm trying to figure out where my docker image went. I have a second_job job in the CI that wants to use this generated docker image as a service in order to test it. Where can I find this created image? Is there a way to do this with the existing functionality or should I open a feature request? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That depends on a lot of things This question would be a lot easier to answer if you showed us in code, config and logs what you are trying to do, instead of explaining it in your own words. |
Beta Was this translation helpful? Give feedback.
When using
docker:dind
as a service, the built image only lives for a short while duringbuild_test_image
execution.After that the service it shutdown, all images built inside the job during that time just disappears into the blue.
You need a docker image registry, that you should push the built image to, in order for you to use it in subsequent jobs.
I sometimes use shell-executor jobs to built docker images, then they will appear under your
docker image ls
One could also mount ones /var/run/docker.sock into the job locally.