When I run a Docker image for Varnish, I get the error "Running VCC-compiler failed, signal 5". This happens even when using a minimal VCL config.
$ 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
)
How can I fix it?