maxun icon indicating copy to clipboard operation
maxun copied to clipboard

docker-compose up -d --build error

Open ihoment-lys opened this issue 1 year ago • 1 comments

image no matching manifest for linux/arm64/v8 in the manifest list entries

ihoment-lys avatar Nov 25 '24 02:11 ihoment-lys

@ihoment-lys thanks for reporting the issue. This is happening because the dockerfile for backend is based on the Playwright image mcr.microsoft.com/playwright:v1.40.0-jammy which is built for linux/amd64 and does not natively support the linux/arm64 architecture.

amhsirak avatar Nov 29 '24 11:11 amhsirak

According to https://github.com/microsoft/playwright/issues/29819#issuecomment-1984211710

docker pull mcr.microsoft.com/playwright:v1.42.1-jammy

will download linux/arm64 (which also works on my mac)

steve-ross avatar Dec 17 '24 15:12 steve-ross

@ihoment-lys @amhsirak It works when I un-comment the build portion the docker-compose.yml

https://github.com/getmaxun/maxun/blob/6b1b0d3688b4e696680188f2dcc4ad68c216238d/docker-compose.yml#L43-L45 (make sure you fix the indentation below) https://github.com/getmaxun/maxun/blob/6b1b0d3688b4e696680188f2dcc4ad68c216238d/docker-compose.yml#L70-L72

steve-ross avatar Dec 19 '24 15:12 steve-ross

@steve-ross Thank you for the input. We have removed build step and now directly use the deployed images. Can you please verify does it work with the deployed images?

amhsirak avatar Dec 22 '24 18:12 amhsirak

I'm testing from a Mac and the same error persists with the images already generated.

orelvis15 avatar Dec 23 '24 18:12 orelvis15

I pulled the playwright docker image, what's next? It shows "no matching manifest for linux/arm64/v8 in the manifest list entries" when I just run"docker-compose up -d"; when I un-comment these parts, shows"WARN[0000] The "kLq7" variable is not set. Defaulting to a blank string. yaml: line 3: did not find expected key"

@ihoment-lys @amhsirak It works when I un-comment the build portion the docker-compose.yml

https://github.com/getmaxun/maxun/blob/6b1b0d3688b4e696680188f2dcc4ad68c216238d/docker-compose.yml#L43-L45

(make sure you fix the indentation below)

https://github.com/getmaxun/maxun/blob/6b1b0d3688b4e696680188f2dcc4ad68c216238d/docker-compose.yml#L70-L72

cjx6668845 avatar Dec 29 '24 12:12 cjx6668845

hello, same error here: no matching manifest for linux/arm64/v8 in the manifest list entries. pulled and run the mcr.microsoft.com/playwright:v1.42.1-jammy docker image, but the error persists. The frontend also fails. Tried to uncomment the build stage with no avail.

K6NO avatar Dec 29 '24 13:12 K6NO

@steve-ross @K6NO @orelvis15 @cjx6668845 @ihoment-lys Arm64 support is available from 0.0.7. Can you pull once and confirm all is well? Thank you 🙇‍♀️

amhsirak avatar Jan 13 '25 11:01 amhsirak

Feel free to re-open if 0.0.7 onwards you are unable to install.

amhsirak avatar Jan 22 '25 13:01 amhsirak