gliderlabs / resolvable

Host-level DNS gateway for Docker
MIT License
315 stars 37 forks source link

Provide a way to add more than two names for one docker container #27

Open lentschi opened 7 years ago

lentschi commented 7 years ago

First of all: Great tool! Thanks to all developers!

If I'm reading the docs correctly, there are currently two docker params that will cause gliderlabs/resolvable to add resolvable names on the host: --name and --hostname

What about applications that require more than two domain names? (For example, if the application's behaviour depends on the domain name with which it has been called.)

I currently resort to manually calling a makeshift script, that writes a docker's IP address to /etc/hosts. But is there any way to do this automatically with gliderlabs/resolvable instead? - That would be a lot neater!

fschrempf commented 3 years ago

I know this is old, but I'm looking for a good solution to test my web services behind a reverse proxy locally. If I could add multiple names to the reverse proxy container this would be a nice solution.