https://registry.hub.docker.com/_/ubuntu/
There is a _
in the url before the product name.
What is it for?
You're able to get the current registry-url using docker info : ... Debug Mode (server): false Registry: https://index.docker.io/v1/ Labels: ... That's also the url you may use to run your self hosted-registry: docker run -d -p 5000:5000 --name registry -e REGISTRY_PROXY_REMOTEURL=https://index.docker.io registry:2.
A ContainerURL represents a URL to the Azure Storage container allowing you to manipulate its blobs.
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.
The official docker hub website has been moved from https://hub.docker.com/ to https://registry.hub.docker.com.
If you have a account on dockerhub
called foobar
:
# pull from your account (foobar)
docker pull foobar/ubuntu:latest
Otherwise, if you omit the username:
# pull from the official account (library)
docker pull ubuntu:latest
# almost the same as
docker pull library/ubuntu:latest
The underscore(_
) is a special namespace used to publish the official repositories.
https://registry.hub.docker.com/_/ubuntu/ is almost the same as https://registry.hub.docker.com/u/library/ubuntu/
The only difference is that you will get different image-names with identical image-id:
$ docker pull ubuntu:latest
$ docker pull library/ubuntu:latest
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
library/ubuntu latest 86ce37374f40 7 days ago 192.7 MB
ubuntu latest 86ce37374f40 7 days ago 192.7 MB
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With