varnish:6.0.11 Docker image crashing on Apple M1 processor

Dridi Boukelmoune dridi at varni.sh
Thu Jan 26 21:44:55 UTC 2023


Hi Martynas,

On Thu, Jan 26, 2023 at 9:00 PM Martynas Jusevičius
<martynas at atomgraph.com> wrote:
>
> Hi Guillaume,
>
> I reproduced the same error as well, running Terminal in Rosetta on MacOS.
>
> Can it be a permissions issue if the same exact docker-compose setup
> runs fine on Windows?

The problem with containers is the uncertainty regarding the host
operating system running them, so something working in a container on
a specific platform does not guarantee the container will run fine
everywhere.

> Here's our Dockerfile:
> https://github.com/AtomGraph/varnish/blob/master/Dockerfile

Try this:

ENTRYPOINT ["/usr/local/bin/docker-varnish-entrypoint", "-jnone"]

Arguably, the container system already applies the principle of least
privileges, so we don't know Varnish's jail feature. Who knows? Not
me.

Cheers,
Dridi


More information about the varnish-misc mailing list