libsql
libsql copied to clipboard
linux/arm64 docker image not available?
I've been using the libsql docker image and it seems like arm64 isn't recognized as a valid platform in my Docker file, where I have:
FROM --platform=linux/arm64 ghcr.io/tursodatabase/libsql-server:latest
Docker responds with the error:
I've noticed arm64
is specified as a platform in the libsql github publish workflow. But, docker is telling it is not a valid platform the image supports... Is there any reason why this might be the case?
@QuiiBz is the arm64 Docker image working for you after the merge?
I didn't try it because I found out about turso dev
which simplifies my workflow.
Looks like it's tagged as unknown/unknown
instead of linux/arm64
:
@penberg looks like specifying unknown/unknown
as a platform
works as a "valid platform", but it results in an invalid tar header once it starts building:
I have run into this as well, it's possible this is because you are using an apple M1/M2 family chip. I found this blog post that helped resolve the issues until there is an image for this platform: https://devcoops.com/no-matching-manifest-for-linux-arm64-v8/
TLDR;
docker run -p 8080:8080 --platform=linux/amd64 ghcr.io/tursodatabase/libsql-server:latest