博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
修改ubuntu docker timezone
阅读量:4208 次
发布时间:2019-05-26

本文共 466 字,大约阅读时间需要 1 分钟。

搜了30min解决的,记录一下。

# check now  timezone$ date -RSun, 21 Oct 2018 23:35:04 +0800# change timezone to Shanghai if it is wrongapt-get updateapt-get install tzdataecho "Asia/Shanghai" > /etc/timezonerm -f /etc/localtime# maybe you need to rm -rf  /usr/share/zoneinfo/UTCdpkg-reconfigure -f noninteractive tzdata# outputCurrent default time zone: 'Asia/Shanghai'Local time is now:      Sun Oct 21 22:33:36 CST 2018.Universal Time is now:  Sun Oct 21 14:33:36 UTC 2018.

参考:

转载地址:http://frmli.baihongyu.com/

你可能感兴趣的文章
手工挂载VMware共享目录
查看>>
【Kernel】pid 与 tgid
查看>>
【Error】make LKM时 找不到符号
查看>>
【转载】【C语言】浅析C语言之uint8_t / uint16_t / uint32_t /uint64_t
查看>>
【转载】yum update 自动忽略内核更新
查看>>
【maven】打包jar上传到服务器运行
查看>>
关闭centos wayland
查看>>
【Error】chsh: PAM: Authentication failure
查看>>
【Error】zsh历史记录丢失
查看>>
解析漏洞总结
查看>>
有趣的二进制 读书笔记
查看>>
【Windows C++】调用powershell上传指定目录下所有文件
查看>>
kotlin-android-extensions 插件无效问题
查看>>
经典排序算法--Java实现
查看>>
Java中JRadioButton单选按钮分组方法
查看>>
Java图形界面中单选按钮JRadioButton和按钮Button事件处理
查看>>
小练习 - 排序:冒泡、选择、快排
查看>>
SparkStreaming 如何保证消费Kafka的数据不丢失不重复
查看>>
Spark Shuffle及其调优
查看>>
数据仓库分层
查看>>