When deploy a private registry per this docker instructions, I have to specify the port in CLI to push the image like this:
For http(80), the command is: docker push host.com:80/alpine.
For https(443), the command has to be: docker push host.com:443/alpine.
If I mapped the port to 5000, the command is: docker push host.com:5000/alpine.
The desired effect is a simple push like this:
docker push host.com/alpine
How do I construct the docker run full command to achieve this when I start registry-container?