mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
problem for running the latest image (3 ways) #82
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 @MdeLv on GitHub (Nov 2, 2020).
I was unable to get started with the latest image:
From the VM debian10, here are the 2 trials (I'm not fully aware if the commands are correct)
Can you give some hints to get this image up&running?
Thanks.
@sickcodes commented on GitHub (Nov 2, 2020):
KVM disallowed, meaning hardware virtualization likely disabled. Running this inside a guest means you'll be 3x nested deep.
Host -> Debian -> Docker (Arch btw) -> OSX
@MdeLv commented on GitHub (Nov 2, 2020):
Regarding docken on virtualized debian, is there a way to emulate hardware virtualization? (forget about the performance issue, just need to run MacOS some softwares).
Regarding synology DSM with docker integrated, here is the log I could get.
Is there a way to workaround the issues such as "qemu-system-x86_64: warning: TCG doesn't support requested feature" etc. ?
Thanks.
@sickcodes commented on GitHub (Nov 13, 2020):
I'm not that familiar with using Docker-OSX in NAS setups as I've never done one. It would be good to be able to test this though as a lot of users here have NAS arrangements.
@MdeLv commented on GitHub (Nov 13, 2020):
I'm ready to make some tests.
I don't see yet what needs to be done and where to start with.
I know that some NAS server are using a linux kernel, on which they install docker, as well as a virtual machine management GUI.
Which plan do have you in mind?
What doesn't work: Host (NAS server) -> Debian -> Docker (Arch btw) -> OSX
What doesn't work: Host (NAS server) -> docker app -> Docker (Arch btw) -> OSX
What could be tested: Host (NAS server) -> docker app ->"adjusted Docker container with OSX"
What do you think about Synology DSM docker logs when using Docker-OSX?
Can you explain the architecture of 'Docker (Arch btw)' ? How it's connected to its host (docker) and to its guest ('OSX') ?
How could we adjust what is in Docker-OSX?
@sickcodes commented on GitHub (Nov 28, 2020):
Docker runs an Arch Linux base image that uses the host X display server.
Any applications you run inside the Arch (btw) container, will be launched on your Desktop.
If you can't access the desktop running the Docker, then use the VNC version.
One of the applications I mentioned is QEMU.
Networking is done by exposing ports on the Arch container.
And inside the Arch container, it forwards the same ports from the OSX QEMU guest all the way to the host.
@sickcodes commented on GitHub (Mar 21, 2021):
Most of these errors have been fixed and added to the https://github.com/sickcodes/Docker-OSX#troubleshooting
@MdeLv commented on GitHub (Mar 21, 2021):
Good news!
Regarding using this docker image on debian or on a debian-based NAS, I understand that it's just about port mapping. So it's supposed to work more or less out of the box, isn't it ?
@MdeLv commented on GitHub (Mar 21, 2021):
Just tried on a synology.
I got a bunch of errors!
I see "kvm version too old" and so on.
As there is a web UI, will GTK be blocked?
Can you help to figure out how to fix that?
Thanks
@sickcodes commented on GitHub (Mar 22, 2021):
Can you update KVM?
Also might be required:
echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrsDo you want a display?
If so, you will need an X server running and use the
$DISPLAYof that session to send the visual GTK QEMU there :)@MdeLv commented on GitHub (Mar 22, 2021):
As it's a synology server (so-called "NAS"), there seems to be a disappointing vendor lockin or "layering" (Vs a good free debian!)
From the DSM (DSM stands for DiskStation Manager : the main host on the HW server) :
kvm should be installed for having a DSM (and vDSM, i.e. a virtual DSM), but it seems not to be available to the main host (the DSM).
I don't know if KVM can be made available to Docker on a synology. Or maybe synology has added its own layer, or somehow tweaked debian/KVM...
It's unclear for me how docker (container manager) and KVM (VM hypervisor) are combined:
According to you, what question should be asked to synology in the context of Docker-OSX? (host -> Arch -> MacOS)
Yes, I want a (distant) display.
Synology DSM has a webUI, so to connect to this "MacOS instance" from a mac/linux/win machine, I expect to use VNC or (local or distant) X client .
The bunch of errors reported are gtk/stdout ones. How can I avoid that?
Basically, container persistence put aside, the following command should be enough:
What you call "headless Docker-OSX" is when using no screen at all Correct ?
https://github.com/sickcodes/Docker-OSX#how-to-run-in-headless-mode
@MdeLv commented on GitHub (Mar 24, 2021):
FYI, synology has confirmed that there is no KVM support for their docker package (??!!.. wtf...).
I think that you'll confirm that KVM support is mandatory for Docker-OSX, w/o display... Correct?
Maybe installing a genuine docker package should do the job, if no vendor lockin also prevents me from doing that.
Or, do you have any idea of a solution to turn around that sad limitation?
@sickcodes commented on GitHub (Mar 24, 2021):
I do, I'm testing the speed without KVM. I booted it without KVM on a raspberry Pi so this should work
https://github.com/sickcodes/Docker-OSX/pull/221
Untested yet
@MdeLv commented on GitHub (Apr 12, 2021):
Any update?
Thanks.