【发布时间】:2021-10-13 12:58:46
【问题描述】:
当我为 Varnish 运行 Docker 映像时,我收到错误消息“运行 VCC 编译器失败,信号 5”。即使使用最小的 VCL 配置也会发生这种情况。
$ docker run vdmk/varnish
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Waiting 5s before startup...
Copying config from /opt/default.vcl...
Evaluating config variables...
Starting varnishd...
Error:
Running VCC-compiler failed, signal 5
VCL compilation failed
Starting varnishlog...
Can't open log - retrying for 5 seconds
Can't open VSM file (Cannot open /var/lib/varnish/ba99fc13f2d1/_.vsm: No such file or directory
)
我该如何解决?
【问题讨论】:
标签: docker varnish apple-m1 varnish-vcl