Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
5 views
in DevOps and Agile by (2.3k points)

The official docker hub website has been moved from  https://hub.docker.com/ to https://registry.hub.docker.com.

I tried to pull a docker image using the docker pull command but it shows me this:

registry.hub.docker.com/busybox: this image was pulled from a legacy registry. Important: This registry version will not be supported in future versions of docker.

Instead, If I try to make use of this command:

$docker pull registry.hub.docker.com/busybox.

docker is not able to pull the image.

also same if i use:

 curl -k https://registry.hub.docker.com/v1/repositories/busybox/tags

1 Answer

0 votes
by (6.9k points)

If you want to pull any of the official images the registry path for them is library/<image>.

Try this:

$ docker pull registry.hub.docker.com/library/busybox

Hope that helped :)


Want to get better at using docker and docker hub try out docker training course.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Mar 20, 2020 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...