Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the docker hub registry url for an docker image

Tags:

docker

What is the docker hub full registry url for pulling docker images.

I would like to get url in the format: [registry-url]/[namespace]/[image]:[tag]

like image 813
tn.stackoverflow Avatar asked Jan 21 '19 15:01

tn.stackoverflow


People also ask

What is the default Docker registry URL?

By default, “somewhere” is the Docker Hub Registry (https://hub.docker.com). However, there are ways to configure other locations from which you can pull docker images. These locations are referred to as registries.

What is my Docker Hub registry?

A Docker registry is a system for versioning, storing and distributing Docker images. DockerHub is a hosted registry used by default when installing the Docker engine, but there are other hosted registries available for public use such as AWS and Google's own registries.

Is Docker registry and Docker Hub same?

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.

Can we have Docker image for Docker registry?

The Registry is a stateless, highly scalable server side application that stores and lets you distribute Docker images. The Registry is open-source, under the permissive Apache license. You can find the source code on GitHub.


1 Answers

[registry-url] in your syntax defaults to docker.io.

[namespace] defaults to library.

[tag] defaults to latest.

Docker calls the combination of [registry-url]/[namespace]/[image] a repository, which comes up occasionally.

So, if you docker pull mysql, that image name is identical to docker.io/library/mysql:latest.

(Note that this isn't a "real" URL, and in the general case there's no single HTTP URL or Web page that maps to a specific Docker image.)

like image 124
David Maze Avatar answered Oct 27 '22 17:10

David Maze