containerregistry icon indicating copy to clipboard operation
containerregistry copied to clipboard

Example for pulling an image from a remote registry into the docker daemon

Open evanye opened this issue 6 years ago • 3 comments

I'm interesting in using the fast puller to download docker images from remote repositories to the local machine's docker daemon. I'm interesting in streaming the download into the docker daemon as fast as possible. I was hoping for an example to use something like https://github.com/bazelbuild/rules_docker/blob/master/container/incremental_load.sh.tpl in order to do so. Do you have anything similar that I could use?

evanye avatar Jan 11 '19 03:01 evanye

@evanye here is commands that help you

gcloud container images list - list of available docker containers
gcloud docker -- pull project - pull container from gcloud locally

iamtodor avatar Feb 25 '19 16:02 iamtodor

@iamtodor from https://cloud.google.com/sdk/gcloud/reference/docker it looks like this is GCR only - I'm looking for something that is registry agnostic (azure container registry, aws ecr, docker hub, quay, etc).

evanye avatar Feb 25 '19 19:02 evanye

@evanye not sure if it exists. anyway - you can combine it

iamtodor avatar Feb 26 '19 07:02 iamtodor