Reputation: 13
I want to pull a docker image with a custom tag; for example, if I wanted a mongo image I would:
docker search mongo
Resulting in no tags displayed.Then
docker pull mongo
and receive as an output the image "mongo:latest"
I know I can tag it after I get the image, but is there a way to simplify this process and retreive an image like "mongo:1.0" with something to the efect of docker pull xxx
?
Upvotes: 1
Views: 1360
Reputation: 1323145
You can at least look at the official docker mongo page and see the tags there.
For instance, to get the previous before latest:
docker pull mongo:3.4.11
Upvotes: 1