geerlingguy / geerlingguy/docker-examples
Explore automatic host-to-container DNS resolution/routing
- Dominant language
- Python
- Stars
- 81
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
There are some interesting solutions to the problem of "how do I use friendly domain names that can be automatically/easily configured" with Docker containers. Some important background:
- [Configure container DNS](https://docs.docker.com/engine/userguide/networking/default_network/configure-dns/)
- Tools like [resolvable](https://github.com/gliderlabs/resolvable) and [docker-dnsmasq](https://github.com/jpillora/docker-dnsmasq).
- Techniques like building your own [Nginx](https://www.digitalocean.com/community/questions/how-to-bind-multiple-domains-ports-80-and-443-to-docker-contained-applications?answer=18095), Varnish, or HAProxy-based reverse proxy for easier domain-to-container mappings.
- [Amazee.io](https://docs.amazee.io/local_docker_development/local_docker_development.html)'s approach: use [dnsmasq](https://hub.docker.com/r/andyshinn/dnsmasq/), [haproxy](https://hub.docker.com/r/amazeeio/haproxy/), and [ssh-agent](https://hub.docker.com/r/amazeeio/ssh-agent/) to connect things together.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.