{"action":"closed","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/2505","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/2505/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/2505/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/2505/events","html_url":"https://github.com/mesosphere/marathon/issues/2505","id":112629552,"number":2505,"title":"Provide memory and cpu as environment variables in docker containers","user":{"login":"mindscratch","id":66429,"avatar_url":"https://avatars.githubusercontent.com/u/66429?v=3","gravatar_id":"","url":"https://api.github.com/users/mindscratch","html_url":"https://github.com/mindscratch","followers_url":"https://api.github.com/users/mindscratch/followers","following_url":"https://api.github.com/users/mindscratch/following{/other_user}","gists_url":"https://api.github.com/users/mindscratch/gists{/gist_id}","starred_url":"https://api.github.com/users/mindscratch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindscratch/subscriptions","organizations_url":"https://api.github.com/users/mindscratch/orgs","repos_url":"https://api.github.com/users/mindscratch/repos","events_url":"https://api.github.com/users/mindscratch/events{/privacy}","received_events_url":"https://api.github.com/users/mindscratch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesosphere/marathon/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/service","name":"service","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mesosphere/marathon/milestones/12","html_url":"https://github.com/mesosphere/marathon/milestones/Backlog","labels_url":"https://api.github.com/repos/mesosphere/marathon/milestones/12/labels","id":870039,"number":12,"title":"Backlog","description":"","creator":{"login":"ConnorDoyle","id":379372,"avatar_url":"https://avatars.githubusercontent.com/u/379372?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnorDoyle","html_url":"https://github.com/ConnorDoyle","followers_url":"https://api.github.com/users/ConnorDoyle/followers","following_url":"https://api.github.com/users/ConnorDoyle/following{/other_user}","gists_url":"https://api.github.com/users/ConnorDoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnorDoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnorDoyle/subscriptions","organizations_url":"https://api.github.com/users/ConnorDoyle/orgs","repos_url":"https://api.github.com/users/ConnorDoyle/repos","events_url":"https://api.github.com/users/ConnorDoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ConnorDoyle/received_events","type":"User","site_admin":false},"open_issues":182,"closed_issues":31,"state":"open","created_at":"2014-11-17T19:11:38Z","updated_at":"2015-12-17T12:28:36Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-10-21T16:34:07Z","updated_at":"2015-12-17T12:28:36Z","closed_at":"2015-12-17T12:28:36Z","body":"It would be useful if docker containers launched with marathon had the memory and cpu app settings set as environment variables, such as `MARATHON_APP_MEM` and `MARATHON_APP_CPU`.\r\n\r\nThese could be used to configure an application at runtime based on the memory/cpu given to the application."}}