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

docker 容器时区错误 #1110

Open
turingking opened this issue May 13, 2024 · 3 comments
Open

docker 容器时区错误 #1110

turingking opened this issue May 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@turingking
Copy link

问题描述

解析域名失败,报错: Signature expired. Please use local time and enable NTP service for time synchronization to avoid a deviation between Timestamp and the server time 1715570716.
docker 容器已经增加 -e TZ="Asia/Shanghai"

 docker run
  -d
  --name='ddns-go'
  --net='host'
  -e TZ="Asia/Shanghai"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="ddns-go"
  -l net.unraid.docker.managed=dockerman
  -v '/mnt/user/appdata/ddns-go/':'/root':'rw' 'jeessy/ddns-go'
04655d4730f60e6b6244f931158c2c4e8b38e1297469ccc3736b703cee1110ab

The command finished successfully!```

### DNS服务商

腾讯云

### 是否已搜索同类问题

已搜索,但未能解决

### 操作系统

Linux

### 架构

x86_64

### 版本

v6.5.0

### 安装方式

Docker

### 额外信息

_No response_
@turingking turingking added the bug Something isn't working label May 13, 2024
@jeessy2
Copy link
Owner

jeessy2 commented May 13, 2024

检查时间,而不是传时区

@turingking
Copy link
Author

检查时间,而不是传时区

/app # date
Mon May 13 19:32:48 CST 2024

时间是错误的,怎么更新呢

@WaterLemons2k
Copy link
Contributor

/app # date

Mon May 13 19:32:48 CST 2024

时间是错误的,怎么更新呢

检查宿主机的时间和时区

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants