{"action":"created","issue":{"url":"https://api.github.com/repos/gliderlabs/registrator/issues/38","labels_url":"https://api.github.com/repos/gliderlabs/registrator/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/gliderlabs/registrator/issues/38/comments","events_url":"https://api.github.com/repos/gliderlabs/registrator/issues/38/events","html_url":"https://github.com/gliderlabs/registrator/issues/38","id":45373397,"number":38,"title":"Docker instances without ports","user":{"login":"cultureulterior","id":378799,"avatar_url":"https://avatars.githubusercontent.com/u/378799?v=3","gravatar_id":"","url":"https://api.github.com/users/cultureulterior","html_url":"https://github.com/cultureulterior","followers_url":"https://api.github.com/users/cultureulterior/followers","following_url":"https://api.github.com/users/cultureulterior/following{/other_user}","gists_url":"https://api.github.com/users/cultureulterior/gists{/gist_id}","starred_url":"https://api.github.com/users/cultureulterior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cultureulterior/subscriptions","organizations_url":"https://api.github.com/users/cultureulterior/orgs","repos_url":"https://api.github.com/users/cultureulterior/repos","events_url":"https://api.github.com/users/cultureulterior/events{/privacy}","received_events_url":"https://api.github.com/users/cultureulterior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":41,"created_at":"2014-10-09T14:34:25Z","updated_at":"2015-08-06T10:36:33Z","closed_at":null,"body":"I believe that being able to register docker instances without exported ports (suitably tagged) should be one of the things that registrator supports. \r\n\r\nUse cases for such dockers would be portless docker instances that merely get data (web spiders, webhook senders, queue pullers and pushers of all types). You'd want to know that they exist even though they don't have exposed external ports. \r\n\r\nThis would allow for monitoring and configuration management, etc.\r\n\r\nIt should also be noted that consul (at least), supports portless services."},"comment":{"url":"https://api.github.com/repos/gliderlabs/registrator/issues/comments/128319766","html_url":"https://github.com/gliderlabs/registrator/issues/38#issuecomment-128319766","issue_url":"https://api.github.com/repos/gliderlabs/registrator/issues/38","id":128319766,"user":{"login":"manics","id":1644105,"avatar_url":"https://avatars.githubusercontent.com/u/1644105?v=3","gravatar_id":"","url":"https://api.github.com/users/manics","html_url":"https://github.com/manics","followers_url":"https://api.github.com/users/manics/followers","following_url":"https://api.github.com/users/manics/following{/other_user}","gists_url":"https://api.github.com/users/manics/gists{/gist_id}","starred_url":"https://api.github.com/users/manics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manics/subscriptions","organizations_url":"https://api.github.com/users/manics/orgs","repos_url":"https://api.github.com/users/manics/repos","events_url":"https://api.github.com/users/manics/events{/privacy}","received_events_url":"https://api.github.com/users/manics/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T10:36:33Z","updated_at":"2015-08-06T10:36:33Z","body":"I ran into this a few months ago and made a workaround: https://github.com/manics/registrator/commit/2c310f2814ec22cf7ce6f77e2dca1696d60fbefa (my first ever go-lang commit..)\r\n\r\n### Use case:\r\nWe're experimenting with using docker as an alternative to spinning up VMs for developers, which means we're pretty much ignoring most Docker best-practices. The Docker bridge is setup on a LAN-accessible IP range:\r\n```\r\n$ cat /etc/sysconfig/docker-network\r\nDOCKER_NETWORK_OPTIONS=\"-b br0 --fixed-cidr 10.0.0.64/27\"\r\n```\r\nThe idea is if someone wants a machine for testing a custom/weird/new server config, or playing with new dependencies, installing new applications, etc. instead of starting up a full blown VM they can play in a temporary docker container with admin access. It's also useful for testing other Docker images. I've setup registrator/etcd/skydns2 so that it's easy to give the containers a DNS name.\r\n\r\nSkydns2 is the backend, and it's setup as an authoritative server for an internal subdomain (our main DNS servers delgate to it).\r\n\r\nHopefully this is useful info!"}}