digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

01 2020 档案

摘要:1. pull 私有仓库的镜像 docker pull registry 2. 配置私有仓库支持http 需要重启docker : systemctl restart docker 3. 运行镜像 docker run -d -v /opt/registry:/var/lib/registry -p 阅读全文
posted @ 2020-01-31 11:09 digdeep 阅读(607) 评论(0) 推荐(0)

摘要:1. Dockerfile文件 FROM centos:7 MAINTAINER digdeep@126.com ADD jdk-8u181-linux-x64.tar.gz /usr/local ENV JAVA_HOME /usr/local/jdk1.8.0_181 ADD http://mi 阅读全文
posted @ 2020-01-30 15:56 digdeep 阅读(2944) 评论(0) 推荐(0)

摘要:1. yum install -y ntpdate 2. cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate us.pool.ntp.org 或 ntpdate time.windows.com 把当前时区调整为上海就是+8区 然后 阅读全文
posted @ 2020-01-28 15:34 digdeep 阅读(1333) 评论(0) 推荐(0)

摘要:下面的命令: docker run -itd --name test01 ubuntu 报错: 解决方法: 在 /etc/docker/daemon.json 加入下面的配置: [root@node01 docker]# cat daemon.json{"debug":true,"registry- 阅读全文
posted @ 2020-01-27 19:20 digdeep 阅读(10407) 评论(0) 推荐(0)

摘要:如题,bug重现如下: CREATE TABLE a ( col VARCHAR(7)) INSERT INTO a (col) VALUES ('5,'); CREATE TABLE b (col VARCHAR(7)); 这里 col = '5,' 遇到了 case when col=5 时,发 阅读全文
posted @ 2020-01-09 22:27 digdeep 阅读(230) 评论(0) 推荐(0)

不懂数据库和Web安全的架构师不是一个好的程序员。