{"action":"created","issue":{"url":"https://api.github.com/repos/delitescere/docker-zulu/issues/2","labels_url":"https://api.github.com/repos/delitescere/docker-zulu/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/delitescere/docker-zulu/issues/2/comments","events_url":"https://api.github.com/repos/delitescere/docker-zulu/issues/2/events","html_url":"https://github.com/delitescere/docker-zulu/issues/2","id":104811887,"number":2,"title":"Apply Docker network settings to Java","user":{"login":"delitescere","id":134630,"avatar_url":"https://avatars.githubusercontent.com/u/134630?v=3","gravatar_id":"","url":"https://api.github.com/users/delitescere","html_url":"https://github.com/delitescere","followers_url":"https://api.github.com/users/delitescere/followers","following_url":"https://api.github.com/users/delitescere/following{/other_user}","gists_url":"https://api.github.com/users/delitescere/gists{/gist_id}","starred_url":"https://api.github.com/users/delitescere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delitescere/subscriptions","organizations_url":"https://api.github.com/users/delitescere/orgs","repos_url":"https://api.github.com/users/delitescere/repos","events_url":"https://api.github.com/users/delitescere/events{/privacy}","received_events_url":"https://api.github.com/users/delitescere/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-04T01:29:27Z","updated_at":"2015-09-04T12:52:56Z","closed_at":"2015-09-04T12:52:56Z","body":"`lib/net.properties` lists local network addresses in \"non proxy hosts\" that should include the (dynamically and randomly allocated) network address of `docker0` for the current container.\r\n\r\nSuggest update this file as part of container start, something like:\r\n\r\n```sh\r\ndockerRoute=$(route | grep '*')\r\ndockerNet=${dockerRoute/\\.0.*/.*}\r\nsed -i $JRE/lib/net.properties -e \"s/nonProxyHosts=/nonProxyHosts=${dockerNet}|/\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/delitescere/docker-zulu/issues/comments/137728262","html_url":"https://github.com/delitescere/docker-zulu/issues/2#issuecomment-137728262","issue_url":"https://api.github.com/repos/delitescere/docker-zulu/issues/2","id":137728262,"user":{"login":"delitescere","id":134630,"avatar_url":"https://avatars.githubusercontent.com/u/134630?v=3","gravatar_id":"","url":"https://api.github.com/users/delitescere","html_url":"https://github.com/delitescere","followers_url":"https://api.github.com/users/delitescere/followers","following_url":"https://api.github.com/users/delitescere/following{/other_user}","gists_url":"https://api.github.com/users/delitescere/gists{/gist_id}","starred_url":"https://api.github.com/users/delitescere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delitescere/subscriptions","organizations_url":"https://api.github.com/users/delitescere/orgs","repos_url":"https://api.github.com/users/delitescere/repos","events_url":"https://api.github.com/users/delitescere/events{/privacy}","received_events_url":"https://api.github.com/users/delitescere/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T12:52:56Z","updated_at":"2015-09-04T12:52:56Z","body":"Done using `ENV=$HOME/shinit.sh` to force `ash` to execute a script every time the container starts."}}