快去自定义签名吧~|

雪糕战士

园龄:4年8个月粉丝:0关注:1

虚拟机soft lockup CPU死锁问题
摘要: 转载自:https://tech99.cn/shot/?uuid=CSDN_127827285 关闭了快速启动的选项解决该问题
50
0
0
go helloworld 部署到k8s
摘要: 打包容器shutdown_Dockerfile同级目录执行sudo docker build -t hello:v0.01 -f shutdown_Dockerfile . 导出docker 容器docker save -o tar名称.tar hello:v0.0.1hello:v0.01 分别代
19
0
0
The connection to the server 192.168.149.131:6443 was refused - did you specify the right host or port?
摘要: 原文地址:https://discuss.kubernetes.io/t/the-connection-to-the-server-host-6443-was-refused-did-you-specify-the-right-host-or-port/552/5 sudo -i swapoff -
38
0
0
docker 环境运行go项目提示: panic: time: missing Location in call to Time.In
摘要: 出现原因: 运行以下代码 timezone, _ := time.LoadLocation("Asia/Shanghai") 但是 容器内 /usr/share/zoneinfo/Asia/Shanghai 路径没有Shanghai文件 导致panic: time: missing Location
350
0
0
etcd open /bitnami/etcd/data/.touch: permission denied 权限不足 msg":"discovery failed","error":"cannot access data directory: mkdir /bitnami/etcd/data: permission
摘要: 手动创建etcd挂载目录 volumes: - "./etcd/data:/bitnami/etcd/data" 我在docker-compose 文件同级目录下创建etcd/data文件夹,再启动即可 msg":"discovery failed","error":"cannot access d
1896
0
0
traefik
摘要: docker 中安装traefik 可以参考这篇文章 https://q.shanyue.tech/deploy/traefik.html#traefik-%E6%90%AD%E5%BB%BA docker-compose.yaml 文件配置 version: '3.3' networks: tra
173
0
0
fyne
摘要: 打包命令: fyne package -os darwin -icon myapp.png fyne package -os linux -icon myapp.png fyne package -os windows -icon myapp.png
145
0
0
内嵌结构体赋值
摘要: type Page []struct { MenuID int `json:"menu_id"` Title string `json:"title"` Path string `json:"path"` Key string `json:"key"` ParentKey string `json:
47
0
0
docker 笔记
摘要: 1、docker rmi 镜像id(imageID) 删除失败就使用docker rmi -f imageID 来进行删除 2、将go程序打包为docker镜像指令: dockerfile文件内容: FROM golang:alpineRUN mkdir /appWORKDIR /appADD .
19
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起