错误一

使用docker build命令构建镜像报:“failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests 18.04]: 403 Forbidden”,

出现此原因只需要设置一下docker的setting。

它发生在构建过程中,它是 buildkit 中的一个错误,考虑到 buildkit 仍然不稳定。如果您在 Mac/Windows 上使用 Docker 桌面,您可能还必须在“Docker Engine”json 配置中禁用它。
Docker 桌面 -> 设置 -> Docker 引擎 ->“features”: { buildkit: true}将"features": { buildkit: false}.

请注意,这不是修复,这是一种解决方法,直到 docker 团队中的某个人实施了正确的修复。请在 buildkit 更稳定时再试一次。

错误二

The stream or file “/var/www/laravel-api/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied
参考解决方法:https://stackoverflow.com/questions/63203144/file-could-not-be-opened-in-append-mode-failed-to-open-stream-permission-denie

#第一步 进入 php-fpm 容器
docker-compose exec php-fpm bash#第二步
chown -R www-data:www-data 项目的文件夹的路径

错误三

https://github.com/laradock/laradock/pull/3251
Laravel Vite 会开启5173端口
vite.config.js文件中添加配置

    server: {host: '0.0.0.0',hmr: {host: 'localhost'}}

下面示例:

export default defineConfig({plugins: [laravel({input: ['resources/css/app.css', 'resources/js/app.js'],refresh: true,}),],server: {host: '0.0.0.0',hmr: {host: 'localhost'}}
});

laradock 错误集合相关推荐

  1. PCL安装常见的错误集合解决方案(一)

    常见的错误集合解决方案(一) No.1 提示错误 'Microsoft.VC90.CRT,version="9.0.21022.8" 把Microsoft.NET Framewor ...

  2. 错误集合_20220131

    文章目录 错误集合_20210131 [shell脚本遇到问题"\r': command not found"](https://www.cnblogs.com/bugutian/ ...

  3. Mapx 错误集合(转载)

    Mapx 错误集合(转载) 2011年10月04日 This is a table of the MapX errors encountered when writing MapX applicati ...

  4. Anaconda prompt常用语句以及常见错误集合啦!

    前言 版本说明:本机现为win10系统+Anaconda3-4.0.0-Windows-x86_64(清华大学开源镜像网站)其内置Python版本为3.5.一次偶然的机会,打开了jupyter,就有点 ...

  5. swift 错误集合 ------持续更新中

    从今天开始凡是在用swift中遇到的错误都会在本博客持续更新 便于自己学习和快速开发 2017.7.20 如果你的程序写的有进入后台的方法,例如我的博客中点击home进入后台持续定位的那篇文章,发信进 ...

  6. python常见错误集合

    使用python会出现各种各样的错误,LZ专门设立了一个博客,在今后使用的过程中,遇到不同的问题都会把它整理到这个博客下面. 1.ValueError: 'Conv2d_1a_3×3' is not ...

  7. highcharts图表组件常见问题:highcharts图表组件错误集合分析大放送

    hicharcharts  常见错误  :http://www.stepday.com/topic/?917 转载于:https://blog.51cto.com/5148737/1662011

  8. yolov3 pytorch错误集合

    File "D:\tmp\pytorch-yolo3\cfg.py", line 134, in print_cfg assert(prev_width == out_widths ...

  9. 【Android应用开发】Android Studio 错误集锦 -- 将所有的 AS 错误集合到本文

    . 一. 编译错误 1. "AndroidManifest.xml file not found" 错误 (1) 报错信息 报错信息 : -- Message Make : Inf ...

最新文章

  1. 玩转 iOS 开发:《iOS 设计模式 — 工厂模式》
  2. 【keras】Input 0 of layer conv2d is incompatible with the layer. expected ndim=4, found ndim=3
  3. 【深度学习入门到精通系列】CIFAR-10数据集说明
  4. golang经典书籍--go并发编程
  5. linux-shell命令之chown(change owner)【更改拥有者】
  6. tomcat 指定的服务未安装(总结验证)
  7. W ndows7安装Hp1020,hp1020打印机驱动
  8. ubuntu20.04安装搜狗拼音输入法
  9. 台式计算机主板修理教程,小白装机最新最详细的台式电脑组装教程图解
  10. win10 nginx部署前端项目(静态资源服务器和HTML)
  11. STM32debug模式下可以执行,但是不能单步调试和跳转
  12. 阿拉伯数字转化为大写汉字
  13. 查看windows服务器型号,windows 查看服务器型号
  14. (大佬)睿智的目标检测13——Keras搭建mtcnn人脸检测平台
  15. AI行为树的基础运作原理
  16. Neuromation新研究:利用卷积神经网络进行儿童骨龄评估
  17. python脚本无缝拼接图片
  18. unity3d terrian tree 地形组件 草木石树无法碰撞的解决办法
  19. 经典语录~想要的东西立马去买,想做的事情马上去做,想见的人立马去见
  20. 关于 Kubernetes中API Server授权(RBAC)管理的一些笔记

热门文章

  1. 袋鼠云数栈DTinsight与8家信创厂商完成产品兼容互认证,携手共建自主可控的新基建生态
  2. 2016猴年春节有感,学习android
  3. ttkefu与其他不同的在线客服系统之间的区别
  4. 门诊分诊管理系统分诊台程序
  5. 国产+开源:可视化流程引擎助力企业建立流程管理体系
  6. Win10 Edge浏览器 应用商店 IE浏览器 无法访问页面 0x8000FFFF 问题解决
  7. 关于uniapp获取应用版本号
  8. debug: 反汇编debug流程(kernel、smaps、addr2line)
  9. 名画277 恽寿平《山水花卉扇面八开》
  10. Android模拟器修改hosts文件详解