会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
雪糕战士
博客园
首页
新随笔
联系
订阅
管理
2023年7月27日
虚拟机soft lockup CPU死锁问题
摘要: 转载自:https://tech99.cn/shot/?uuid=CSDN_127827285 关闭了快速启动的选项解决该问题
阅读全文
posted @ 2023-07-27 23:40 雪糕战士
阅读(70)
评论(0)
推荐(0)
2023年6月1日
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 分别代
阅读全文
posted @ 2023-06-01 23:13 雪糕战士
阅读(29)
评论(0)
推荐(0)
2023年5月10日
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 -
阅读全文
posted @ 2023-05-10 22:06 雪糕战士
阅读(41)
评论(0)
推荐(0)
2023年2月16日
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
阅读全文
posted @ 2023-02-16 17:29 雪糕战士
阅读(399)
评论(0)
推荐(0)
2022年12月3日
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
阅读全文
posted @ 2022-12-03 17:59 雪糕战士
阅读(2072)
评论(0)
推荐(0)
2022年10月18日
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
阅读全文
posted @ 2022-10-18 19:57 雪糕战士
阅读(189)
评论(0)
推荐(0)
2022年6月24日
Hyper-V 上安装 Ubuntu 启动出现VIrtual machine boot summary
摘要: 取消安全启动选项
阅读全文
posted @ 2022-06-24 10:03 雪糕战士
阅读(5823)
评论(0)
推荐(0)
2022年4月6日
fyne
摘要: 打包命令: fyne package -os darwin -icon myapp.png fyne package -os linux -icon myapp.png fyne package -os windows -icon myapp.png
阅读全文
posted @ 2022-04-06 22:37 雪糕战士
阅读(156)
评论(0)
推荐(0)
2022年3月14日
内嵌结构体赋值
摘要: type Page []struct { MenuID int `json:"menu_id"` Title string `json:"title"` Path string `json:"path"` Key string `json:"key"` ParentKey string `json:
阅读全文
posted @ 2022-03-14 14:54 雪糕战士
阅读(53)
评论(0)
推荐(0)
2022年2月17日
docker 笔记
摘要: 1、docker rmi 镜像id(imageID) 删除失败就使用docker rmi -f imageID 来进行删除 2、将go程序打包为docker镜像指令: dockerfile文件内容: FROM golang:alpineRUN mkdir /appWORKDIR /appADD .
阅读全文
posted @ 2022-02-17 23:03 雪糕战士
阅读(23)
评论(0)
推荐(0)
下一页
公告