Skip to content
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

w8t-service时间不对 #140

Open
daidailalawu opened this issue Feb 24, 2025 · 4 comments
Open

w8t-service时间不对 #140

daidailalawu opened this issue Feb 24, 2025 · 4 comments

Comments

@daidailalawu
Copy link

Image

@Cairry
Copy link
Collaborator

Cairry commented Feb 24, 2025

试下把宿主机上的localtime挂载到容器内

@daidailalawu
Copy link
Author

Image
Image
没效果。。。

@Cairry
Copy link
Collaborator

Cairry commented Feb 25, 2025

apk add --no-cache tzdata
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo "Asia/Shanghai" > /etc/timezone

装一下tz试试,需要重启

@daidailalawu
Copy link
Author

可以了哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants