背景
调试elastic integration,参考Test integration,使用elastic-package工具调试integration,启动elastic stack测试环境时(工具安装和概念参考上述链接官文):
elastic-package stack up
报错:
Boot up the Elastic stack
Using profile /home/lsd/.elastic-package/profiles/default.
Remember to load stack environment variables using 'eval "$(elastic-package stack shellinit)"'.
Custom build packages directory found: /home/lsd/go/src/github.com/elastic/integrations/build/integrations
Packages from the following directories will be loaded into the package-registry:
- built-in packages (package-storage:snapshot Docker image)
- /home/lsd/go/src/github.com/elastic/integrations/build/integr

在使用elastic-package启动elastic stack测试环境时遇到docker build镜像失败的问题。通过增加-v参数获取详细错误信息,发现是yaml文件格式问题。经过排查,怀疑是docker-compose版本过低导致的yaml文件校验不通过。升级docker-compose至最新版后,问题得到解决。
最低0.47元/天 解锁文章
936

被折叠的 条评论
为什么被折叠?



