sillelien / base-alpine

A base Docker image for Alpine Linux with DNS fixes and S6 process manager, suitable for hosting environments like Tutum.co
http://sillelien.com
Apache License 2.0
80 stars 18 forks source link

DNS resolution not working correctly for me #11

Open ehudkaldor opened 8 years ago

ehudkaldor commented 8 years ago

I am trying to get a domain-like resolution of DNS names, but i am probably configuring something wrong.

what i want is that for each container in the Tutum stack, "" and "." will be resolved to the correct IPs. for now, i seem to manage only getting /etc/hosts to have an entry for the container name, if anything.

it seems like the DNS hack is depending on some env variables (TUTUM_REST_HOST, etc.) that are not documented in the README. can you document what i need to set each to be in the Tutum stack stackfile? and is what i am looking for even possible? i am building an email solution in which each service (postfix, postgresql, dovecot) run in a container, and these should talk to one another.