-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker container crash on Debian #113
Comments
@jackblk @Fzoss @marchenm @alexcote1 @nstrelow What will my docker experts say? |
@SergioSV96 is your system AMD64? I think maybe you're using ARM? |
Nevermind, I found that you're using orangepi, after a quick google I found that it is using ARMv7 CPU. Currently there's only image for AMD64 so it won't work on your system. My bad, I will update the image for other architectures as long as Node supports it. |
@SergioSV96 Fixed, added images for multiple platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/arm/v7, linux/arm/v6 I also updated the wiki. Please use new command here: https://github.com/Revadike/epicgames-freebies-claimer/wiki/User-Guide-(Docker)#maclinux. I added Please let me know if it works for you, I don't have ARM-based hardware so I cannot test, but it should work. |
I downloaded the latest image, but on another notice, --pull always command won't work either so I did it manually
|
@SergioSV96 wow that's weird, maybe your Docker version does not support About the failure, looking at your log, it's downloading the image for Use this one to pull the right one: With the log from Edit: on the side note, I will emulate ARM on QEMU and test it. |
Docker version 18.09.1, build 4c52b90
I think this time it opened the terminal but nothing happened, I pressed ENTER a few times and it just crashed :S
|
@SergioSV96 can you copy full log of I'm emulating on my side, let me check if the image is usable for ARM or not. |
Yes sorry I forgot to copy the full command:
I am trying to upgrade but it says I'm on latest version, I may need to look for something else |
sounds like a node or alpine issues with armv7. Can you try running the armv6 image |
It still crashes :(, btw is there a tag for the different architectures? that might be easier to manage maybe |
@SergioSV96 You can check other archs here, tab "OS / Arch": https://github.com/jackblk/epicgames-freebies-claimer/pkgs/container/epicgames-freebies-claimer But I think you can only use ARM-based images. What's the model of your OrangePi? Edit: try Can you try to reinstall docker? Please uninstall the old version with |
The Orange Pi PC
I will try reinstalling docker later today (I have some sensitive containers running currently) |
do you have node installed on the device? can you run the code instead of the container? |
I've tried
Please let me know if it works after reinstalling docker. |
I got a Raspberry Pi 2B from a friend, it is using ARM Cortex-A7 CPU (same arch with your CPU). With Docker 20.10.7, it can work with the command I wrote in wiki, meaning it works with So after running it on both emulator & real device, I think the problem is with your Docker. Maybe reinstalling it with the newest version will work. Here's my log if you're interested osmc@osmc:~/code/epicgames-freebies-claimer$ docker version
Client: Docker Engine - Community
Version: 20.10.7
API version: 1.41
Go version: go1.13.15
Git commit: f0df350
Built: Wed Jun 2 11:57:27 2021
OS/Arch: linux/arm
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: b0f5bc3
Built: Wed Jun 2 11:55:25 2021
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.4.6
GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
runc:
Version: 1.0.0-rc95
GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
docker-init:
Version: 0.19.0
GitCommit: de40ad0
osmc@osmc:~/code/epicgames-freebies-claimer$ docker run --rm --pull always -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest
latest: Pulling from jackblk/epicgames-freebies-claimer
e160e00eb35d: Pull complete
94a33ee36567: Pull complete
7f0eeb36f5ce: Pull complete
37df595574e8: Pull complete
b90a6c247290: Pull complete
3eb12e5ea84b: Pull complete
71882b1518ab: Pull complete
Digest: sha256:bdd11c980905a5236f7b1896a72e4b998e1f5740d964b1ff90a486aa37ac2822
Status: Downloaded newer image for ghcr.io/jackblk/epicgames-freebies-claimer:latest
> [email protected] start
> node claimer.js
2021-06-25 | 04:29:06.773 | INFO | Found 2 unclaimed freebie(s) for jack***@gmail.com
2021-06-25 | 04:29:15.891 | INFO | Logged in as jackblk (0d8bea***d5f82ce)
2021-06-25 | 04:29:23.875 | WARN | Sonic Mania was already claimed for this account
2021-06-25 | 04:29:31.397 | WARN | Horizon Chase Turbo was already claimed for this account
2021-06-25 | 04:29:32.938 | INFO | Logged jackblk out of Epic Games
osmc@osmc:~/code/epicgames-freebies-claimer$ docker image inspect ghcr.io/jackblk/epicgames-freebies-claimer
[
{
"Id": "sha256:415313dcef9aa0217660130944a302c0fc6c8987a5b27ad6f3d080c363c95248",
"RepoTags": [
"ghcr.io/jackblk/epicgames-freebies-claimer:latest"
],
"RepoDigests": [
"ghcr.io/jackblk/epicgames-freebies-claimer@sha256:bdd11c980905a5236f7b1896a72e4b998e1f5740d964b1ff90a486aa37ac2822"
],
...
"Architecture": "arm",
"Variant": "v7",
"Os": "linux",
...
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:e678d54c933532243e4ca1cb0b7ef7d6fa4969783100e0022246bc14d83972e9",
"sha256:c832b2188aa6d918b3c3a6ab8fdb6d5a6390dd28f611e5686596f49de42fdc3e",
"sha256:e200b9ce2fe8349bc66e514985e56a6d5727de7e5168d1616d8a902839fb4666",
"sha256:bcf3931f70433b5a3f6e1efab775d10d3ca3f40f35057d951f8bfddc6eca8f75",
"sha256:db2386f661da6044b1fe767c892b7fe93afa5011b329dd304ba4a2648e490c7d",
"sha256:956b767858cf748ded193490e3e8398c62917944708302bf00f9f2d2e20e1f1c",
"sha256:a6d83453c699d06d0c1fe373f4573221be33091f760b415aeebaa686c8d16d8b"
]
... |
I just tried this with the new docker version as you told me and this happened;
My docker version:
My OS version:
Thank you so much for your help, I am really trying to get this to work but I am clueless of what is happening, I never run into issues with running any container in my Orange Pi PC |
@SergioSV96 Current image is based on Alpine 3.13. Alpine 3.13 requires host to have Docker 19.03.9 or greater, AND libseccomp 2.4.2. Unfortunately, Debian Buster has an outdated libseccomp AFAIK, maybe this is why you cannot use the current package and why my ARMv7 Emulator still works (I used Ubuntu, not Debian Buster). There are 2 solutions for this:
Hidden 3rd option: install new OS based on Debian Bullseye 😄 I have built alpine 3.12 based image, please try this one: docker run --rm --pull always -it \
--volume "$(pwd)/device_auths.json:/app/device_auths.json" \
ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3-alpine3.12 Please let me know if it works, I will do a PR to revert back to alpine 3.12 to support Debian Buster users. If it doesn't work, please post the logs 😄 . To upgrade libseccomp, you can follow the instruction here: alpinelinux/docker-alpine#135 (comment) or Please try this after trying alpine 3.12 based image. |
Sorry for the late response,
I am using Thank you very much for all the help, if I can help you in any way let me know! |
@SergioSV96 To support Debian Buster users, I deleted the Every device can use the |
Expected Behavior
I am using the command stated in the guide
Actual Behavior
It's supposed to give me a log output claiming the games, instead it crashes.
Steps to Reproduce the Problem
standard_init_linux.go:207: exec user process caused "exec format error"
Specifications
epicgames-freebies-claimer
Version: latest from docker, hard to know the versionDistributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
The text was updated successfully, but these errors were encountered: