Skip to content

WIP: Accept hostname/port combinations in image names

Stan Hu requested to merge accept-hostname-ports-in-images into master

Specifying a custom hostname and port causes name collisions to occur, preventing clones from occurring due to DNS failures. This happens if the hostname of the registry and the GitLab server are same but on different ports. For example:

  1. gitlab.example.com is the GitLab server
  2. gitlab.example.com:4567 is the Registry

Previously an image named gitlab.example.com:4567/namespace/project would be aliased to gitlab.example.com, since everything after the colon would be stripped.

Closes #1434 (closed)

Merge request reports

Loading