logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

[转帖]Dockerfile设置默认时区

我们打包镜像时使用的基础镜像基本上都是采用UTC(格林时间),与我们常用的北京(上海)时间(CST)相差8个小时。我们可以在创建一个容器的时候,将宿主机时区相关的目录文件挂在到容器上:docker run --rm -it -v /etc/localtime:/etc/localtime ubuntu# 进入容器,date测试root@3e6c1d137e02:/# dateMon Aug5 15

#docker#ubuntu
[转帖]MySQL的sum函数返回的类型

原帖地址: http://bylijinnan.iteye.com/blog/1984472?utm_source=tuicool摘要 : The SUM() and AVG() functions return a DECIMAL value for exact-value arguments (integer or DECIMAL), and a DOUBLE value fo

到底了