Replace underscores in service names with ...?


  • I ran into a problem with a Python library called request, they do not allow underscores in hostnames anymore.
  • This seems to conform with the relevant RFCs, read a condensed fineprint at stackoverflow. TL;DR: hostnames are not domain names, the latter allow underscores.
  • GitLab-CI follows the path of docker-compose, which has an open issue since May 2014.

What do you think? Would it be a good idea to expose the service with double dashes instead of double underscores as outlined in the docker-compose issue.