32

I want to pull all the images with tag 1.2.0 from here.

Is this possible?

Billal Begueradj
  • 20,717
  • 43
  • 112
  • 130
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
  • "...how do I have to pull ..." This is confusing and I don't see a question. If you meant "Why do I have to pull ...", that's one thing but I'm not sure that's your main question. – Rob Jun 15 '16 at 12:06

2 Answers2

51

You pull specific tags with the following syntax:

docker pull fedora:1.0

From your new question, you appear to want to pull multiple repositories from a specific login on Docker Hub. I'm not aware of a command that supports this but you should be able to script the docker search output.

BMitch
  • 231,797
  • 42
  • 475
  • 450
2

as far as i know, you need to fetch the name of the images, and then batch pull them using "docker pull openshift/xxx:1.2.0"

vivia
  • 2,983
  • 1
  • 13
  • 8
  • as @BMitch metioned you can script docker search output, but only a few images got: docker search openshift | grep ^openshift* | awk -F ' ' '{print "docker pull "$1":1.2.0"}' – vivia Jun 15 '16 at 15:20