01 2021 档案
摘要:每次服务器重启,在docker中运行的jenkins中使用docker时遇到以下错误 failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial un
阅读全文
摘要:UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence 在某种情况下忽略字符错误 file = open(path, encoding='gb18030', er
阅读全文
摘要:apiVersion: apps/v1 kind: Deployment metadata: name: httpd spec: selector: matchLabels: run: httpd replicas: 1 template: metadata: labels: run: httpd
阅读全文
摘要:# yaml格式的pod定义文件完整内容: apiVersion: v1 #必选,版本号,例如v1 kind: Pod #必选,Pod metadata: #必选,元数据 name: intellect1 #必选,Pod名称 namespace: app #必选,Pod所属的命名空间 labels:
阅读全文
摘要:yarn.lock 转换为 package-lock.json synp Convert yarn.lock to package-lock.json and vice versa. install npm install -g synp command line usage yarn.lock =
阅读全文
摘要:bind 127.0.0.1 设置只允许本机访问 protected-mode no 保护模式设置为 norequirepass 12346 设置redis访问密码
阅读全文
摘要:^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveChildProcess’中
阅读全文
摘要:下载nginx-ingress-controller:0.20.0 docker pull wc1fpquu.mirror.aliyuncs.com/kubernetes-ingress-controller/nginx-ingress-controller:0.20.0 docker image
阅读全文