vagrant-docker-vm icon indicating copy to clipboard operation
vagrant-docker-vm copied to clipboard

DNS discovery for docker containers (consul/registrator)

Open mblaschke opened this issue 8 years ago • 1 comments

Implement a way to use DNS names to reach each docker container by using consul/registrator for eg. using SSH tunnel to reach a mysql server to prevent usage of host port binding.

mblaschke avatar Nov 29 '16 21:11 mblaschke

Consul and registrator are implemented and working. Unfortunately containers created/started with docker-compose are not registred in conul's DNS service because the containers are created with underscores instead of dashes (underscores are invalid in DNS names).

See https://github.com/docker/compose/issues/229 for upstream issue for docker-compose.

mblaschke avatar Nov 29 '16 21:11 mblaschke