{"action":"opened","issue":{"url":"https://api.github.com/repos/gliderlabs/logspout/issues/251","repository_url":"https://api.github.com/repos/gliderlabs/logspout","labels_url":"https://api.github.com/repos/gliderlabs/logspout/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/gliderlabs/logspout/issues/251/comments","events_url":"https://api.github.com/repos/gliderlabs/logspout/issues/251/events","html_url":"https://github.com/gliderlabs/logspout/issues/251","id":197837900,"number":251,"title":"logspout doesnt support TZ ","user":{"login":"slawekgh","id":11534862,"avatar_url":"https://avatars.githubusercontent.com/u/11534862?v=3","gravatar_id":"","url":"https://api.github.com/users/slawekgh","html_url":"https://github.com/slawekgh","followers_url":"https://api.github.com/users/slawekgh/followers","following_url":"https://api.github.com/users/slawekgh/following{/other_user}","gists_url":"https://api.github.com/users/slawekgh/gists{/gist_id}","starred_url":"https://api.github.com/users/slawekgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawekgh/subscriptions","organizations_url":"https://api.github.com/users/slawekgh/orgs","repos_url":"https://api.github.com/users/slawekgh/repos","events_url":"https://api.github.com/users/slawekgh/events{/privacy}","received_events_url":"https://api.github.com/users/slawekgh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T11:21:41Z","updated_at":"2016-12-28T11:21:41Z","closed_at":null,"body":"time on my hardware box:\r\n\r\n```\r\nroot@ubuntu# date\r\nWed Dec 28 12:19:28 CET 2016\r\n```\r\n\r\nwith almost all docker images I've ever met and tested I can pass time as env TZ - for example with ubuntu img:\r\n\r\n```\r\nroot@ubuntu# docker run --rm -t -i -e \"TZ=Europe/Warsaw\"  ubuntu date\r\nWed Dec 28 12:17:29 CET 2016\r\n```\r\n\r\nBUT logspout is one and only image which doesnt support TZ: \r\n\r\n```\r\nroot@ubuntu# docker run -d -e \"TZ=Europe/Warsaw\" -v /var/run/docker.sock:/tmp/docker.sock --name logspout -e LOGSPOUT=ignore -e DEBUG=true --publish=8000:80 gliderlabs/logspout:master syslog://172.17.0.1:5000\r\ne2b44b62d957700e8a41082fe2e2ff603449e87a2b1b296fd3b7ff0059187f62\r\n```\r\n\r\nThere is wrong date inside container:\r\n\r\n```\r\nroot@ubuntu# docker exec -ti logspout sh\r\n/ # date\r\nWed Dec 28 11:18:24 GMT 2016\r\n```\r\n\r\nI dont want to use and bind to host /etc/localtime via \"-v\" option which works but is not available in my environment \r\n \r\n```\r\nroot@ubuntu# docker run -d -v /etc/localtime:/etc/localtime:ro  -v /var/run/docker.sock:/tmp/docker.sock --name logspout -e LOGSPOUT=ignore -e DEBUG=true --publish=8000:80 gliderlabs/logspout:master syslog://172.17.0.1:5000^C\r\n```"}}
{"actor":{"display_login":"slawekgh"}}