-
Notifications
You must be signed in to change notification settings - Fork 118
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
比系统时间慢8小时 #69
Comments
群晖docker同样有这样的问题。搜到的解决方案是使用docker cp命令把容器的/etc/localtime替换为本机的/etc/localtime. |
|
你这不是root用户没有权限,改成 |
Try lastet image |
你好~故障依旧,提示没有这个路径、。?
[image: image.png]
honwen ***@***.***> 于2023年12月17日周日 14:45写道:
… Try lastet image
—
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNGCEJTBD5PD5LTTSIPPJTYJ2IH5AVCNFSM52QIABJ2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHEYDKNBSGE3A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
使用最新镜像,并且在docker-compose.yml的environment部分添加 TIMEZONE: 8.0,重新执行docker compose up -d 命令解决 |
收到邮件很意外~先感谢了~
leolird ***@***.***> 于2024年6月18日周二 09:21写道:
… 群docker同样有这样的问题。搜到的解决方案是使用docker
cp命令把容器的/etc/localtime替换本机的/etc/localtime。见:
https://blog.csdn.net/Xeden/article/details/113987639
[image: 图片]
<https://user-images.githubusercontent.com/22700305/197317178-56ff838a-238e-49bf-83d6-9d523d4555b6.png>
容器是chenhw2-aliyun-ddns-cli1 晖docker 网上找了很多群的办法。请大神看看。
你这不是root用户没有权限,改成 sudo docker cp 或者 sudo -i切换成root用户
Try lastet image
使用最新镜像,并且在docker-compose.yml的environment部分添加 TIMEZONE: 8.0,重新执行docker
compose up -d 命令解决
—
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNGCEMAPDCTFW6ZGKKCDYLZH6DS3AVCNFSM6AAAAABJPA2HAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUG4ZDQMJZHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
控制台显示的解析时间总是比系统时间慢8小时。
为了解决这个问题重新安装了docker,并在环境变量中增加”TZ=Asia/Shanghai“。
但是新的docker时间仍然慢8小时。
请问应该如何解决?
对了,系统是威联通QTS5.0
The text was updated successfully, but these errors were encountered: