memos icon indicating copy to clipboard operation
memos copied to clipboard

docker container automatically exit (159) on platform arm64

Open KFCxMcDonalds opened this issue 1 year ago • 2 comments

Describe the bug

iTerm2 2024-10-22 16 39 58 I'm trying to deploy memos on raspberryPi (raspberryOS), I followed official guidance to run/compose the memos container using:
docker run -d \
  --init \
  --name memos \
  --publish 5230:5230 \
  --volume ~/.memos/:/var/opt/memos \
  --platform linux/arm64 \
  neosmemo/memos:stable

in which I added --platform configuration to alllow my docker find correct architecture version (without this, raspberryPi will search for arm64/v8 by default.

But after successfully downloading Image, the container would not run on background, it will automatically exit with code 159. I found a potential solution on stackoverflow : use docker run -dit, but it seems not work.

Steps to reproduce

  1. run command
docker run -d \
  --init \
  --name memos \
  --publish 5230:5230 \
  --volume ~/.memos/:/var/opt/memos \
  --platform linux/arm64 \
  neosmemo/memos:stable
  1. docker ps -a image we can see that memos exits almost immediatly

The version of Memos you're using.

stable

Screenshots or additional context

No response

KFCxMcDonalds avatar Oct 22 '24 08:10 KFCxMcDonalds

@KFCxMcDonalds Could you share some backend logs of the failed startup? You can get them via docker logs.

boojack avatar Oct 25 '24 01:10 boojack

@boojack hi jack, the problem is that I can't find any log information.

image

If you need more information, please let me know, thank you!

KFCxMcDonalds avatar Oct 25 '24 05:10 KFCxMcDonalds

Hi! This remains a current issue on arm64/v8

DDSNA avatar Aug 30 '25 18:08 DDSNA