{"action":"created","issue":{"url":"https://api.github.com/repos/phusion/passenger-docker/issues/89","labels_url":"https://api.github.com/repos/phusion/passenger-docker/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/phusion/passenger-docker/issues/89/comments","events_url":"https://api.github.com/repos/phusion/passenger-docker/issues/89/events","html_url":"https://github.com/phusion/passenger-docker/issues/89","id":68784462,"number":89,"title":"Container linking: app user cannot access environment variables","user":{"login":"cylon-v","id":4575064,"avatar_url":"https://avatars.githubusercontent.com/u/4575064?v=3","gravatar_id":"","url":"https://api.github.com/users/cylon-v","html_url":"https://github.com/cylon-v","followers_url":"https://api.github.com/users/cylon-v/followers","following_url":"https://api.github.com/users/cylon-v/following{/other_user}","gists_url":"https://api.github.com/users/cylon-v/gists{/gist_id}","starred_url":"https://api.github.com/users/cylon-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cylon-v/subscriptions","organizations_url":"https://api.github.com/users/cylon-v/orgs","repos_url":"https://api.github.com/users/cylon-v/repos","events_url":"https://api.github.com/users/cylon-v/events{/privacy}","received_events_url":"https://api.github.com/users/cylon-v/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-15T20:51:11Z","updated_at":"2015-07-20T12:32:50Z","closed_at":"2015-07-15T14:48:30Z","body":"I use passenger-docker container (passenger) linked with another container (db) that provides some service accessible via some port:\r\n`docker run --link db:db -d passenger`\r\nYou know, that in this case docker runs container and creates environment variables for 'root' user, such as IP-address of linked container. As 'app' user I cannot access these parameters from my RoR-application. Do you think that 'app' user is really needed in isolated environment?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/phusion/passenger-docker/issues/comments/122870216","html_url":"https://github.com/phusion/passenger-docker/issues/89#issuecomment-122870216","issue_url":"https://api.github.com/repos/phusion/passenger-docker/issues/89","id":122870216,"user":{"login":"itsmrwave","id":703786,"avatar_url":"https://avatars.githubusercontent.com/u/703786?v=3","gravatar_id":"","url":"https://api.github.com/users/itsmrwave","html_url":"https://github.com/itsmrwave","followers_url":"https://api.github.com/users/itsmrwave/followers","following_url":"https://api.github.com/users/itsmrwave/following{/other_user}","gists_url":"https://api.github.com/users/itsmrwave/gists{/gist_id}","starred_url":"https://api.github.com/users/itsmrwave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsmrwave/subscriptions","organizations_url":"https://api.github.com/users/itsmrwave/orgs","repos_url":"https://api.github.com/users/itsmrwave/repos","events_url":"https://api.github.com/users/itsmrwave/events{/privacy}","received_events_url":"https://api.github.com/users/itsmrwave/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T12:32:50Z","updated_at":"2015-07-20T12:32:50Z","body":"@FooBarWidget Thanks!!! :+1: I've posted up my full config up on StackOverflow ... I figure it'll be helpful for the specific use case of Passenger-Docker + Rails + Elastic Beanstalk. However it's not for a multiple container docker config but a single container  docker config.\r\n\r\nLink: http://stackoverflow.com/a/31516528/2184155"}}