[英]Error The 'ClientId' option must be provided. When building a docker image
[英]Error when building the blackbox_exporter Docker image
我刚刚开始使用Prometheus ,可能做错了一些,但是在尝试使用以下方式构建blackbox_exporter( https://github.com/prometheus/blackbox_exporter )映像时遇到以下错误:
docker build -t blackbox_exporter .
错误是:
Step 3 : COPY blackbox_exporter /bin/blackbox_exporter
lstat blackbox_exporter: no such file or directory
当我编辑Dockerfile并将其更新为:
COPY . /bin/blackbox_exporter
然后,它会正确构建。 有任何想法吗?
提前致谢。
大卫
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.