Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Pull all docker container images from docker repo at once?

I have a private docker repo in which i have 10 container images stored. I want to pull all images to a machine. is there a way i can pull all images from a repo with a single command? some command like

docker pull  xx.xx.com/reponame/* 

while researching I found ways to pull all tags of a single image; but no luck so far on all images

like image 853
ankit patel Avatar asked Jun 03 '17 02:06

ankit patel


People also ask

How do I get all docker images?

The easiest way to list Docker images is to use the “docker images” with no arguments. When using this command, you will be presented with the complete list of Docker images on your system. Alternatively, you can use the “docker image” command with the “ls” argument.

Can docker repository contains collection of images?

Docker Hub repositories allow you share container images with your team, customers, or the Docker community at large. Docker images are pushed to Docker Hub through the docker push command. A single Docker Hub repository can hold many Docker images (stored as tags).

How do I pull an image from a private docker repository?

In order to pull images from your private repository, you'll need to login to Docker. If no registry URI is specified, Docker will assume you intend to use or log out from Docker Hub. Triton comes with several images built-in. You can view the available list with triton images .


1 Answers

Could 'hack' this with docker-compose.

# docker-compose.yml
version: '3.1'
services:
  a:
    image: a-image
  b:
    image: b-image
  c:
    image: c-image
# .....

docker-compose pull --parallel

like image 118
johnharris85 Avatar answered Oct 27 '22 04:10

johnharris85