docker-minecraft-server icon indicating copy to clipboard operation
docker-minecraft-server copied to clipboard

Support for old Raspberry pi 1 (armv6)

Open Jobba7 opened this issue 1 year ago • 7 comments

Enhancement Type

Not sure

Describe the enhancement

I want to run a minecraft vanilla server on an old Raspberry pi 1 (armv6) (Raspberry Pi Model B Rev 2). Is this possible?

Jobba7 avatar Mar 31 '23 11:03 Jobba7

This is already possible:

https://github.com/itzg/docker-minecraft-server#running-on-raspberrypi

...however, set your expectations low. It will be incredibly slow and will probably not have enough memory.

Disabling the healthcheck at least on first run will probably be a good idea

https://github.com/itzg/docker-minecraft-server#healthcheck

itzg avatar Mar 31 '23 12:03 itzg

Yes but, if i run docker run -d -it -p 25565:25565 --name mc -e EULA=TRUE -e MEMORY=400m itzg/minecraft-server:latest then the output is docker: no matching manifest for linux/arm/v6 in the manifest list entries.

And if i run docker run -d -it -p 25565:25565 --name mc -e EULA=TRUE -e MEMORY=400m --platform linux/arm/v7 itzg/minecraft-server:latest then the container stops instantly after starting without any output.

Is there a build supported for linux/arm/v6?

Jobba7 avatar Mar 31 '23 14:03 Jobba7

I'm sorry, I didn't notice the exact model you described. I could probably add that to the build since required binaries include armv6. Honestly, it's not really worth the effort. If you're wanting to run anything newer than 1.12.x then it will be incredibly slow, as in 60 minutes for just startup.

itzg avatar Mar 31 '23 14:03 itzg

I want to give it a try, just for answering the question: can it run minecraft? If it's not too much effort I would be happy :)

Jobba7 avatar Mar 31 '23 14:03 Jobba7

I'll queue this up to take a quick stab at it.

itzg avatar Mar 31 '23 14:03 itzg

everything I see says that Java 11 and later isn't supported on ARMv6? so it would be just java8 that would have support for ARMv6, correct?

camalot avatar Mar 31 '23 15:03 camalot

Good point @camalot , I didn't think about that aspect.

itzg avatar Apr 03 '23 12:04 itzg