mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Xvfb missing #362
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dumbasPL on GitHub (May 19, 2022).
The naked image fails to start after a recent update. I believe it's the one from 5 days ago that broke it (digest: efdbec5854b5)
My stripped down compose (removed serials, networking, labels):
Log:
might be related to #446
Edit: most likely broken by
d7f0c289fc@maxlapides commented on GitHub (May 20, 2022):
I am also experiencing this issue with the latest
nakedimage. Thanks for reporting @dumbasPL!@csonuryilmaz commented on GitHub (May 20, 2022):
While running below step (docker build):
libinih-55-2-x86_64.pkg.tar.zst is detected as corrupted or has invalid sign.
☝️ This seems to be the root cause of
failed to run command 'Xvfb'which breaks docker-osx image.It's interesting that it's not breaking docker build process (exiting with non-zero code) but created docker image is broken since Xvfb command could not be installed as we see in logs.
I searched for a fix or workaround and implemented below statements to docker file before
RUN pacman -Syu xorg-server-xvfb...Resources:
@csonuryilmaz commented on GitHub (May 22, 2022):
Using
-Syuon pacman forces many packages to upgrade which can cause other problems in docker build.For example,
yaraupgrade bumpslibyara.soto 9 which makes libguestfs-test-tool fail with error: "guestfsd: error while loading shared libraries: libyara.so.8: cannot open shared object file: No such file or directory".So more simple fix is replacing below line in
Dockerfile.nakedwith
(removing
-uarg from pacman)After this minor update docker build for
Dockerfile.nakedworks fine and created docker image boots successfully without any Xvfb error.@csonuryilmaz commented on GitHub (May 27, 2022):
@dumbasPL @maxlapides I found "older" docker images of
nakedin here. 👀You can go back from broken
digest: efdbec5854b5to older images one by one for a working one.Although not tried yet, I keep it in my notes for a quick workaround for broken
naked. 🙂@charliefancelli commented on GitHub (May 30, 2022):
same issue with the
sickcodes/docker-osx:naked-auto@dumbasPL commented on GitHub (May 31, 2022):
@csonuryilmaz Thank you for finding this.
efdbec5854b5andc97f66947c85fail to start.4da5a80bf3acseems to be the last working one. Booted up just fine for me.Here is the full sha256, for anyone facing this issue. You can use this as your image name for now until this gets fixed.
@manang commented on GitHub (Jun 30, 2022):
Hi, I'm facing the same error:
What can I do?
Thanks
@mrkeyiano commented on GitHub (Jul 1, 2022):
This solution fixed the issue
now I'm getting a new error
qemu-system-x86_64: -drive id=MacHDD,if=none,file=/image,format=qcow2: 'file' driver requires '/image' to be a regular file@manang commented on GitHub (Jul 1, 2022):
which solution?
@mrkeyiano commented on GitHub (Jul 1, 2022):
this!
@mrkeyiano commented on GitHub (Jul 1, 2022):
This new issue was because i was passing the wrong image file in volume, fixed
now I'm getting a totally new error
@dumbasPL commented on GitHub (Jul 1, 2022):
This is not an critical error. All it means is that the audio failed to initialize.
If you want to get sound to work then read this https://github.com/sickcodes/Docker-OSX#pulseaudio
Otherwise you can just ignore the error, the vm should be booting up at this point
@mrkeyiano commented on GitHub (Jul 1, 2022):
I'm tryna use it headlessly, no display or audio
but its stuck here for the last hour
@sickcodes commented on GitHub (Jul 4, 2022):
Thanks for posting this I was unaware there was an error in yara.
I added additional keyservers to cover the issue with keys
@dumbasPL commented on GitHub (Aug 18, 2022):
Is this supposed to be fixed? I'm still getting