<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Feature Request: Docker TimeZone in #Random</title>
    <link>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462627#M1223</link>
    <description>&lt;P&gt;Here's how i did it in my dockerfile and it seems to be working:&lt;/P&gt;

&lt;P&gt;ARG SPLUNK_VERSION&lt;/P&gt;

&lt;P&gt;FROM splunk/splunk:${SPLUNK_VERSION}&lt;/P&gt;

&lt;P&gt;ENV TZ=America/Toronto&lt;/P&gt;

&lt;P&gt;USER root&lt;/P&gt;

&lt;P&gt;RUN set -eux chown -R splunk:splunk /opt/splunk/etc/; \&lt;BR /&gt;
         chmod -R 755 /opt/splunk/etc/; \&lt;BR /&gt;
         ln -snf /usr/share/zoneinfo/$TZ /etc/localtime &amp;amp;&amp;amp; echo $TZ &amp;gt; /etc/timezone;    &lt;/P&gt;

&lt;P&gt;USER ansible&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2020 19:42:31 GMT</pubDate>
    <dc:creator>cloutid</dc:creator>
    <dc:date>2020-02-14T19:42:31Z</dc:date>
    <item>
      <title>Feature Request: Docker TimeZone</title>
      <link>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462624#M1220</link>
      <description>&lt;P&gt;Currently Splunk's Docker container does not support TZ or TIMEZONE options. I am able to change the TZ for a individual user but this still causes discrepancies in some log files and times. Additionally for free users who are unable to set a TZ for users this means they are stuck on UTC.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 21:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462624#M1220</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2020-02-05T21:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Request: Docker TimeZone</title>
      <link>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462625#M1221</link>
      <description>&lt;P&gt;Hi, have you tried modifying the Dockerfile and set the timezone there? &lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 18:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462625#M1221</guid>
      <dc:creator>cloutid</dc:creator>
      <dc:date>2020-02-14T18:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Request: Docker TimeZone</title>
      <link>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462626#M1222</link>
      <description>&lt;P&gt;Yeah I attempted TIMEZONE = America/Vancouver and when I enter "date" in the console it would respond with the UTC time but specify the timezone I selected. &lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 19:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462626#M1222</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2020-02-14T19:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Request: Docker TimeZone</title>
      <link>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462627#M1223</link>
      <description>&lt;P&gt;Here's how i did it in my dockerfile and it seems to be working:&lt;/P&gt;

&lt;P&gt;ARG SPLUNK_VERSION&lt;/P&gt;

&lt;P&gt;FROM splunk/splunk:${SPLUNK_VERSION}&lt;/P&gt;

&lt;P&gt;ENV TZ=America/Toronto&lt;/P&gt;

&lt;P&gt;USER root&lt;/P&gt;

&lt;P&gt;RUN set -eux chown -R splunk:splunk /opt/splunk/etc/; \&lt;BR /&gt;
         chmod -R 755 /opt/splunk/etc/; \&lt;BR /&gt;
         ln -snf /usr/share/zoneinfo/$TZ /etc/localtime &amp;amp;&amp;amp; echo $TZ &amp;gt; /etc/timezone;    &lt;/P&gt;

&lt;P&gt;USER ansible&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 19:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462627#M1223</guid>
      <dc:creator>cloutid</dc:creator>
      <dc:date>2020-02-14T19:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Request: Docker TimeZone</title>
      <link>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462628#M1224</link>
      <description>&lt;P&gt;You'll have to rebuild the Docker image using updated TZ in the Docker Makefile.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 20:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Random/Feature-Request-Docker-TimeZone/m-p/462628#M1224</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-02-17T20:17:22Z</dc:date>
    </item>
  </channel>
</rss>

