Closed beepsoft closed 1 year ago
Thanks for the report. Hard to say anything right now because my docker-compose up --build
on M1 hangs on this Dockerfile command:
https://github.com/AtomGraph/LinkedDataHub/blob/master/Dockerfile#L175
Supposedly there's a way to run Docker with Rosetta on Mac, but I don't see that option under "Features in development" :/
After running Terminal in Rosetta, I get the same error. No idea what the cause is :) I'll write to the Varnish list.
Varnish list thread: https://www.mail-archive.com/varnish-misc@varnish-cache.org/msg08744.html
Thanks for the report. Hard to say anything right now because my
docker-compose up --build
on M1 hangs on this Dockerfile command: https://github.com/AtomGraph/LinkedDataHub/blob/master/Dockerfile#L175
I also encountered this. But after a couple of trials it did execute all the keytool -import
commands.
As for Varnish: my current workaround is that I copied the contents of https://github.com/AtomGraph/varnish to LinkedDataHub and used
varnish-admin:
build: ./varnish
instead of
varnish-admin:
image: atomgraph/varnish:6.0.11
in docker-compose.yaml. With all these and with a little luck with ./import-letsencrypt-stg-roots.sh
I could start the project.
Anyways, thanks for taking care of M1 issues!
I am running Docker Desktop 4.16.2 (95914), Docker Engine Engine: 20.10.22 and just tried the "Use Rosetta for x86/amd64 emulation on Apple Silicon" option. Now it seems to start all right with the stock docker-compose.yml
:
linkeddatahub-varnish-admin-1 | Debug: Version: varnish-6.0.11 revision a3bc025c2df28e4a76e10c2c41217c9864e9963b
linkeddatahub-varnish-admin-1 | Debug: Platform: Linux,5.15.49-linuxkit,x86_64,-junix,-smalloc,-sdefault,-hcritbit
linkeddatahub-varnish-end-user-1 | Debug: Version: varnish-6.0.11 revision a3bc025c2df28e4a76e10c2c41217c9864e9963b
linkeddatahub-varnish-end-user-1 | Debug: Platform: Linux,5.15.49-linuxkit,x86_64,-junix,-smalloc,-sdefault,-hcritbit
Even ./import-letsencrypt-stg-roots.sh
runs all right (tried multiple times).
@beepsoft can we consider this solved?
With Rosetta enabled it is ok now as a workaround until you are able to build arm images.
Hi,
I just tried to install LinkedDataHub on my development M1 MacBook Pro and
docker-compose
fails with:As I see all atomgraph images on dockerhub support only
linux/amd64
. Most of them seem to work fine (although quite slow) via qemu on M1, but theatomgraph/varnish:6.0.11
images used by thevarnish-admin
andvarnish-end-user
services fail with the above error.Would it be possible to build and publish images to dockerhub supporting
linux/arm64/v8
as well? Or provide a workaround to build these images when runningdocker-compose up --build
in LinkedDataHub?