{"action":"closed","issue":{"url":"https://api.github.com/repos/tsuru/diaats/issues/4","labels_url":"https://api.github.com/repos/tsuru/diaats/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tsuru/diaats/issues/4/comments","events_url":"https://api.github.com/repos/tsuru/diaats/issues/4/events","html_url":"https://github.com/tsuru/diaats/issues/4","id":113506907,"number":4,"title":"export environment variables defined in the image","user":{"login":"fsouza","id":108725,"avatar_url":"https://avatars.githubusercontent.com/u/108725?v=3","gravatar_id":"","url":"https://api.github.com/users/fsouza","html_url":"https://github.com/fsouza","followers_url":"https://api.github.com/users/fsouza/followers","following_url":"https://api.github.com/users/fsouza/following{/other_user}","gists_url":"https://api.github.com/users/fsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/fsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsouza/subscriptions","organizations_url":"https://api.github.com/users/fsouza/orgs","repos_url":"https://api.github.com/users/fsouza/repos","events_url":"https://api.github.com/users/fsouza/events{/privacy}","received_events_url":"https://api.github.com/users/fsouza/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tsuru/diaats/labels/easy","name":"easy","color":"fbca04"},{"url":"https://api.github.com/repos/tsuru/diaats/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"fsouza","id":108725,"avatar_url":"https://avatars.githubusercontent.com/u/108725?v=3","gravatar_id":"","url":"https://api.github.com/users/fsouza","html_url":"https://github.com/fsouza","followers_url":"https://api.github.com/users/fsouza/followers","following_url":"https://api.github.com/users/fsouza/following{/other_user}","gists_url":"https://api.github.com/users/fsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/fsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsouza/subscriptions","organizations_url":"https://api.github.com/users/fsouza/orgs","repos_url":"https://api.github.com/users/fsouza/repos","events_url":"https://api.github.com/users/fsouza/events{/privacy}","received_events_url":"https://api.github.com/users/fsouza/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-27T04:56:14Z","updated_at":"2015-12-19T01:14:38Z","closed_at":"2015-12-19T01:14:38Z","body":"Docker supports declaring environment variables in the Dockerfile, these environment variables are then available in containers created using the built image, and are also forwarded when Docker links two containers. Some services use this Docker feature to expose authentication information, and since diaats supports only host and port, it isn't possible to use any service that require authentication at the moment (in other words, diaats works _really_ well with memcached and non-authenticated Redis haha).\r\n\r\nWe could inspect these environment variables and make then available during bind. That would expand diaats availability to images such as [mysql](https://hub.docker.com/_/mysql/) and [postgres](https://hub.docker.com/_/postgres/)."}}