Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a default port for a docker private registry

Tags:

docker

This to enable one to use docker tag image:version docker.mydomain.com/image:version instead of explicitly specifying the port

like image 677
peterk Avatar asked Oct 19 '18 07:10

peterk


People also ask

What is the default port for Docker registry?

The registry defaults to listening on port 5000 . If you run the registry as a container, consider adding the flag -p 443:5000 to the docker run command or using a similar setting in a cloud configuration.

How do I access private Docker?

To login to Docker Hub in the terminal and start using Docker's official images, login in the terminal by executing triton-docker login . You will be prompted to give the username and password for your Docker Hub account. You are then free to images, official or personal, on Triton.

What is private registry in Docker?

A private Docker registry allows you to share your custom base images within your organization, keeping a consistent, private, and centralized source of truth for the building blocks of your architecture.


1 Answers

docker pull (and push) run over HTTPS, and I believe if you use the default HTTP/TLS port 443 for your server then you won't need to specify it in your image tags.

like image 135
David Maze Avatar answered Oct 14 '22 07:10

David Maze