-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add flag to podman run/create to automatically set the timezone in container to match host. #5128
Comments
Sounds great (also getting it into the containers.conf). I prefer a longer |
I don't know, tz == twilight zone right? I like the idea, but prefer the longer option. I'd be fine if we allowed both though. |
I think the acronym is pretty well established, so I doubt we run into conflicts. My only question is how much work is involved - is this just an extra file to make and mount into the container, like |
I have similar concerns. It could be just injecting the hosts TZ Environment, but copying the contents of /etc/localtime into container private data might be required as well. |
is the idea here that by default this would be false or true? |
I would default to false for compatibility
…On Sat, Feb 8, 2020, 16:50 Brent Baude ***@***.***> wrote:
is the idea here that by default this would be false or true?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5128>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCFCJNS6I7AXOZAWWDLRB4SLTANCNFSM4KRO7EJA>
.
|
Yes, false by default, but customizable in containers.conf. |
One snag to be aware of: there are three scenarios here, not two:
podman could simply env-forward Another option is, if |
Groan. The obvious next step is that someone will want |
Sure, but I think we just keep it simple and mount the file pointed to by /etc/localtime into the container. |
Suggest to avoid adding ambiguity, use 2 facets. Contact timeserver, save in UTC Here's why -- |
@sspoddiglane would you like to attempt to create a PR for this? /etc/localtime on my box is a binary file. |
Be glad to when I get a moment. Is there a form you prefer?
…On Tue, Feb 18, 2020 at 4:12 PM Daniel J Walsh ***@***.***> wrote:
@sspoddiglane <https://github.com/sspoddiglane> would you like to attempt
to create a PR for this?
/etc/localtime on my box is a binary file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5128>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDUW2ODBJY5S7YLMLEJM6LRDRFL7ANCNFSM4KRO7EJA>
.
--
Susan SpoddigLane
Sr. Linux Admin IV
NOAA/NESDIS Center for SaTellite Applications and Research (STAR)
College Park
Office:301-683-1328
cell: 202-394-8991
Email: [email protected]
[image: noaa_logo_full.png]
<https://www.noaa.gov/> <https://www.noaa.gov/>U.S. Department of Commerce
<http://www.commerce.gov/>
Enter Search
|
Awesome. Just a PR to github, if that is what you meant? |
A friendly reminder that this issue had no activity for 30 days. |
@sspoddiglane Any movement on this, or should I look for someone else? |
I'll get this out next week. Firefighting after ISP reloaded their
routers w bad config..
…On Mon, Mar 23, 2020 at 9:37 AM Daniel J Walsh ***@***.***> wrote:
@sspoddiglane <https://github.com/sspoddiglane> Any movement on this, or
should I look for someone else?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5128 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDUW2I57PI6EREZMVH4EIDRI5JZTANCNFSM4KRO7EJA>
.
--
Susan SpoddigLane
Sr. Linux Admin IV
NOAA/NESDIS Center for SaTellite Applications and Research (STAR)
College Park
Office:301-683-1328
cell: 202-394-8991
Email: [email protected]
[image: noaa_logo_full.png]
<https://www.noaa.gov/> <https://www.noaa.gov/>U.S. Department of Commerce
<http://www.commerce.gov/>
Enter Search
|
@sspoddiglane Any movement on this? |
@ashley-cui Want to take a look at this? |
Hi, Are you looking for something like? Flags:
|
I am actually thinking of both. Basically set the TZ Environment if not set and mount the /etc/localtime mountpoint into the container. |
Something like?
--tz host
--tz image
Then in containers conf, we could allow setting this by default.
Thoughts?
The text was updated successfully, but these errors were encountered: