07 2020 档案

摘要:multi-stage build 的支持 在使用docker 进行多阶段构建镜像时,有如下报错;查看资料是docker 17.05 才开始支持多阶段构建。 Error parsing reference: "golang:alpine AS binarybuilder" is not a vali 阅读全文
posted @ 2020-07-31 12:44 hiyang 阅读(519) 评论(0) 推荐(0) 编辑
摘要:操作系统和CPU架构 [root@xxx]# cat /etc/os-release | grep -w NAME NAME="NeoKylin Linux Server" [root@xxx]# lscpu | egrep "Arch|Model" Architecture: mips64el M 阅读全文
posted @ 2020-07-27 11:27 hiyang 阅读(846) 评论(0) 推荐(0) 编辑
摘要:https://github.com/aikuyun/iterm2-zmodem 注意配置完成后iterm2需要重启,否则弹出的对话框无法选择文件。 阅读全文
posted @ 2020-07-25 20:43 hiyang 阅读(167) 评论(0) 推荐(0) 编辑
摘要:db version v3.2.8 rs.initiate(conf) { "ok" : 0, "errmsg" : "new file allocation failure", "code" : 12520 } Mongo 配置 --oplogSize 100000 会预分配10G空间,如果磁盘空 阅读全文
posted @ 2020-07-21 19:29 hiyang 阅读(283) 评论(0) 推荐(0) 编辑
摘要:github网络错误处理 [root@node10 kodoe]# git pull origin:dev ssh: Could not resolve hostname origin: Name or service not known fatal: Could not read from rem 阅读全文
posted @ 2020-07-14 11:56 hiyang 阅读(624) 评论(0) 推荐(0) 编辑
摘要:有些文件夹需要在两台mac间进行同步,比如 /Users/xxx/bin <--> /Users/xxx/bin。 查看了Dropbox相关功能,不能自定义要同步的文件夹。 google了一番,没找到好的方法。 最终干脆将 bin 放到 Dropbox 目录下,两台电脑的bin都软连接到Dropbo 阅读全文
posted @ 2020-07-09 17:08 hiyang 阅读(515) 评论(0) 推荐(0) 编辑
摘要:参考这里,不过dropbox只能在有VPN情况下使用。 阅读全文
posted @ 2020-07-09 16:26 hiyang 阅读(412) 评论(0) 推荐(0) 编辑
摘要:Vagrantfile 修改根目录大小 多个主机 多个磁盘 网络配置 # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |node| (1..1).each do |index| node.vm.define "no 阅读全文
posted @ 2020-07-06 16:00 hiyang 阅读(328) 评论(0) 推荐(0) 编辑