-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
After Update Docker starts only with privileged: true #755
Comments
`version: "3" services: |
That fix seems fairly logical. I think I only have a RPI 3B+ and will need to revive it. Can you try some of the slightly older tags to see if you can narrow where it might have changed. It's probably a change in the base image. |
Mhm, |
Oh, if you updated Docker recently then that's more likely the cause. |
6 Docker Compose are now running on the pi. The only one who makes this Problem ist the Minecraft Image. It runs perfect with the privilige Mode but i dont want it to run in this mode. |
I agree that I wouldn't want to enable privileged mode; however, I'm running out of ideas :( Since |
I dont have any other containers with sleep. But without Autopause i get errors. [init] Running as uid=1000 gid=1000 with /data as 'drwxrwsr-x+ 8 1000 1000 4096 Jan 29 2021 /data' curl: (28) Timeout was reached [init] Resolved version given LATEST into [init] Resolving type given SPIGOT [init] Downloading Spigot from https://cdn.getbukkit.org/spigot/spigot-1.16.5.jar ... curl: (28) Timeout was reached [init] Running as uid=1000 gid=1000 with /data as 'drwxrwsr-x+ 8 1000 1000 4096 Jan 29 2021 /data' |
It's strange that disabling auto-pause caused a difference in behavior early in startup. In any case, I'm afraid you're now hitting this other issue ...and I'm stuck wondering what the upstream image has done to break |
Just did a fresh install of Docker on a Raspberry Pi 4 and ran into this exact same issue. Any idea which version broke this? I might try to downgrade. |
I install itzg Minecraft Server on January 18th. I think i updated Docker 2-3 Days before @BC6B. So The Versions before 18th January must work. |
I ended up downgrading Docker to 19.03.15 last night but ran into the same timeout. I will try to go back further tonight. |
Maybe there was a kernel update that influenced this. What distro is everyone here running on rpi? Raspbian? |
Yes for me it is Raspian 32 Bit |
Yeah @itzg I found the Solution. We need to Upgrade the libseccomp on RP4. http://ftp.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb Link this to the other Tickets. It fixed also the Autopause. Have a great Day Powerbolt |
Good to close the issue then? |
Upgrading libseccomp worked for me... Thanks Powerbolt1989! |
Hi Everyone, A friend recently helped me out with this, and I thought it may be helpful to post the (very simple) workaround here for anyone to find in the future. It turns out Docker has a special flag for shared-volumes, the 'Z' flag. There is also the lower-case 'z' flag though they do different things. See: https://stackoverflow.com/a/35222815 and https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label I'm not 100% sure of the technical ins and outs as my RasPi4 doesn't run SELinux though it does appear to have an AppArmor module running. Either way, setting my persistent data volume to use this 'Z' flag solved all problems immediately, e.g: minecraft: Sorry for necro-bumping, but hope this helps someone out who may still be struggling when the solutions above didn't work, as was my case. |
Great info @xcellardoor ! I could add a note about that in the README. |
Just found official description of the seccomp solution is mentioned here https://docs.docker.com/engine/security/seccomp/ |
After rebuild today my Server starts only with privileged: true.
Without i get the error message
sleep: cannot read realtime clock: Operation not permitted
curl: (28) Resolving timed out after 1225600658137 milliseconds
sleep: cannot read realtime clock: Operation not permitted
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwsr-x+ 8 1000 1000 4096 Jan 29 2021 /data'
curl: (28) Timeout was reached
[init] Resolved version given LATEST into
[init] Autopause functionality enabled
[init] Resolving type given SPIGOT
sleep: cannot read realtime clock: Operation not permitted
System is the Rasperry Pi 4 with 8 GB
What could i do to fix this Problem?
thx
Powerbolt
The text was updated successfully, but these errors were encountered: