ertagh / teamspeak3-server-arm

150 stars 11 forks source link

Differences between QEMU and Box #29

Closed capsload2 closed 2 years ago

capsload2 commented 2 years ago

Hello,

what are the differences between

QEMU and Box?

Especally, should i use QEMU over Box for Raspberry Zeros, or is Box better for it?

Maybe you can write in on the Description :)

Also its working fine for Raspberry Zero 2 W (for your tested list)

ertagh commented 2 years ago

Well this both programs translate from x86 to arm. So basicly the Box versions should be prefered because they are way more efficient than QEMU.

You may be wondering why are the images from the latest tag only QEMU ones. Well I don't want to mix Box und QEMU within one tag and QEMU is also available on arm32v5.

Gread idea! Next update I will add this to the description!

SoraKasvgano commented 2 years ago

Well this both programs translate from x86 to arm. So basicly the Box versions should be prefered because they are way more efficient than QEMU.

You may be wondering why are the images from the latest tag only QEMU ones. Well I don't want to mix Box und QEMU within one tag and QEMU is also available on arm32v5.

Gread idea! Next update I will add this to the description!

Hello ertagh

Unable to find image 'ertagh/teamspeak3-server:latest-box-predownloaded' locally
latest-box-predownloaded: Pulling from ertagh/teamspeak3-server
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.

When i am using the newest tag "latest-box-predownloaded'" it shows those infos,look like it can't auto match the rpi4 64bit system correctly.

ertagh commented 2 years ago

Hi Sora Oh my god! Totally my bad! I was sloppy and forgot to change the base-image to arm64v8.. I pushed a hotfix a few seconds ago, so everything should work now.

Big thanks for bringing this to my attention!

SoraKasvgano commented 2 years ago

Hi Sora Oh my god! Totally my bad! I was sloppy and forgot to change the base-image to arm64v8.. I pushed a hotfix a few seconds ago, so everything should work now.

Big thanks for bringing this to my attention!

ohhh ertagh,it matches now

but i found sth wrong when i am using 64bit raspbian official system Linux raspberrypi 5.10.63-v8+ #1496 SMP PREEMPT Wed Dec 1 15:59:46 GMT 2021 aarch64 GNU/Linux with this tag, while the same legacy data folder works well with arm32v7-latest-box86-predownloaded,maybe the s6 didn't be downloaded correctly because of gfw? https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.3/s6-overlay-aarch64.tar.gz

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Checking if every package is installed ..
Updating timezone to Asia/Shanghai

Current default time zone: 'Asia/Shanghai'
Local time is now:      Thu Feb 24 09:32:30 CST 2022.
Universal Time is now:  Thu Feb 24 01:32:30 UTC 2022.

Completing the installation of the predownloaded server ..
Starting TeamSpeak 3 Server ..
/teamspeak/ts3server_minimal_runscript.sh: 14: exec: /box64/box64: not found
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
Checking if every package is installed ..
[services.d] done.
Starting TeamSpeak 3 Server ..
/teamspeak/ts3server_minimal_runscript.sh: 14: exec: /box64/box64: not found
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
Checking if every package is installed ..
[services.d] done.
Starting TeamSpeak 3 Server ..
/teamspeak/ts3server_minimal_runscript.sh: 14: exec: /box64/box64: not found
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
Checking if every package is installed ..
[services.d] done.
Starting TeamSpeak 3 Server ..
/teamspeak/ts3server_minimal_runscript.sh: 14: exec: /box64/box64: not found
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
Checking if every package is installed ..
[services.d] done.
ertagh commented 2 years ago

Fixed that and another error I found after I tested the image myself.. Now it should work.

I'm so sorry for the inconvenience! Should have tested the images before uploading them..

And as always thanks Sora!

SoraKasvgano commented 2 years ago

Fixed that and another error I found after I tested the image myself.. Now it should work.

I'm so sorry for the inconvenience! Should have tested the images before uploading them..

And as always thanks Sora!

aha it works perfectly now....

btw do you play BF1? battlefield one?

if you are interested in i can invite u to our organization, in our repo you will get EA unpublic apis,then u can manage your own server by your program lol

ertagh commented 2 years ago

I play bf1 from time to time, but I'm more a bf4 guy.

Ah you already saw that I accepted your invitation!