I am using external docker image from dockerhub.
In each step the dockerimage is pulled from dockerhub again and again. Yes it is desired workflow.
My question is can we cache this image, so that it wont pull from dockerhub in each step? This DockerImage is not going to change frequently, as it has only node and meteor as preinstalled.
So is it possible to cache the docker image?
Hello Gnanamadhu,
We have an internal Dockerhub Mirror which caches *public Dockerhub images* inside of our build cluster. So docker pull times should be shorter on subsequent pipeline runs. You will still need to run Docker pull as each step is ephemeral, so the Docker image will not be present in your step by default.
If you are building new Docker images as part of your Pipelines build, then you can also consider using our Docker caches feature. However, that doesn't appear to be what you're trying to do here.
If you have any follow-up questions, it would be helpful if you could provide an example bitbucket-pipelines.yml script to give us a bit more context on your workflow.
Thanks,
Phil
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.