上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: docker pull mcr.microsoft.com/mssql/server:2019-latest --拉取 docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=MyName2024" -p 14330:1433 --name sql1 阅读全文
posted @ 2024-02-19 18:42 孤海飞雁 阅读(62) 评论(0) 推荐(0) 编辑
摘要: docker-compose build docker builder prune 清楚缓存,释放空间 阅读全文
posted @ 2024-02-18 19:58 孤海飞雁 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 这里删除项目目录下的 git解决。也是操蛋,没往也没注意git这里想,搞了半天,操蛋啊 检查下 docker-compose.yml 文件内的内容,我的是去除注释时大小写更改导致的 阅读全文
posted @ 2024-02-18 19:54 孤海飞雁 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 使用vs生成的dockerfile,记得放到项目根目录,不要放到具体项目目录下,不然build会报错。那 阅读全文
posted @ 2024-02-18 15:23 孤海飞雁 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 客户端代码配置 "ConsulRegisterOptions": { "Address": "http://localhost:8500", //"http://host.docker.internal:8500", //Consul 客户端地址 "HealthCheck": "/healthche 阅读全文
posted @ 2024-02-12 19:00 孤海飞雁 阅读(31) 评论(0) 推荐(0) 编辑
摘要: windows 11 下 启动docker 运行镜像ok, 但是浏览器 访问时 80 端口的访问失败 其他端口ok,可能是我本地iis占了 阅读全文
posted @ 2024-02-08 19:38 孤海飞雁 阅读(4) 评论(0) 推荐(0) 编辑
摘要: sql server 报错, 1 有些版本太老,可以用新版本2 打开sql server 配置管理 远程链接,新建入站端口 1433 全准许 阅读全文
posted @ 2024-02-06 16:04 孤海飞雁 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 在运行后 consul 8500 显示红叉,但是健康检查正常,说明 appsetting里设置跌端口有问题,改为 你系统启动端口 阅读全文
posted @ 2024-02-06 16:03 孤海飞雁 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 错误一 docker build" requires exactly 1 argument. See 'docker build --help'. Usage: docker build [OPTIONS] PATH | URL | - Build an image from a Dockerfil 阅读全文
posted @ 2024-01-29 21:23 孤海飞雁 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #net 8 使用,正常从net 3.1直接升级到8 FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/runtime:latest FROM build WORKDIR /app COPY /. 阅读全文
posted @ 2024-01-23 22:31 孤海飞雁 阅读(18) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页