tarantool / docker

Docker images for tarantool database
https://hub.docker.com/r/tarantool/tarantool
52 stars 25 forks source link

Tarantool doesn't start on Apple M1 Silicon #206

Closed nikkorejz closed 2 years ago

nikkorejz commented 3 years ago

I tried start tarantool with this command:

docker run --rm -t -i tarantool/tarantool:2.8.0

But docker return error:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
failed to initialize Lua

Lua has been installed on Mac, and it starts successful. Why tarantool can't initialize Lua if Lua supports Apple M1?

Totktonada commented 3 years ago

Anyway, there are known problems with LuaJIT on ARM64, so we'll not declare support of ARM64 until at least the following tasks will be resolved:

https://github.com/tarantool/tarantool/issues/5983#issuecomment-817849131

We don't offer arm64 and/or multiarch images at the moment.

AlexanderBich commented 3 years ago

Strange case that it even doesn't work under QEMU with explicitly specifying the platform like so: docker run --platform linux/amd64 tarantool/tarantool Same error: failed to initialize Lua

Has anyone found any workaround to make it work in arm before the actual support?

Ma3oBblu commented 3 years ago

same error failed to initialize Lua, looking for solution to run tarantool docker images on m1

nikkorejz commented 3 years ago

Any updates?

nikkorejz commented 2 years ago

Good job, guys. Since version 2.10.0-beta1 docker container starts successful (idk about bugs, but now I can work of my project with tarantool dependency) @AlexanderBich @Ma3oBblu image

Totktonada commented 2 years ago

It seems, we can close this. Thanks for the testing!