Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker official registry (Docker Hub) URL

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

If I try to docker pull images from URL like: docker pull registry.hub.docker.com/busybox it shows:

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. 

But if I use docker pull registry.hub.docker.com/busybox.

It cannot pull the image.

Same situation when using curl -k https://registry.hub.docker.com/v1/repositories/busybox/tags

like image 376
Ertuğrul Altınboğa Avatar asked Dec 10 '15 09:12

Ertuğrul Altınboğa


People also ask

What is the registry URL for Docker Hub?

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

What is the URL for default docker registry?

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.

Is Docker Hub a docker registry?

Docker Hub is Docker's official cloud-based registry for Docker images. As you might expect, since Docker Hub is Docker's official registry, it is the default registry when you install Docker.

How do I access docker registry?

Sign into your Docker Hub account as an organization owner. Select an organization, navigate to the Settings tab on the Organizations page and click Registry Access. Enable Registry Access Management to set the permissions for your registry.


2 Answers

The registry path for official images (without a slash in the name) is library/<image>. Try this instead:

docker pull registry.hub.docker.com/library/busybox 
like image 158
konrad Avatar answered Sep 20 '22 03:09

konrad


For those trying to create a Google Cloud instance using the "Deploy a container image to this VM instance." option then the correct url format would be

docker.io/<dockerimagename>:version

The suggestion above of registry.hub.docker.com/library/<dockerimagename> did not work for me.

I finally found the solution here (in my case, i was trying to run docker.io/tensorflow/serving:latest)

like image 34
nsof Avatar answered Sep 24 '22 03:09

nsof