Open JKakaofanatiker opened 3 years ago
https://github.com/sickcodes/Docker-OSX/blob/master/README.md
Try chmod 666 /dev/kvm
Try echo $DISPLAY
and use that instead of DISPLAY:-0.0
Same troubleshoot instructions as Docker-OSX, I will add to the readme for Docker-eyeOS
Are you using Linux? If not, I might make a Dockerfile for Mac
I'm using Linux
Confirm you have QEMU https://github.com/sickcodes/Docker-OSX/blob/master/README.md#requirements-kvm-on-the-host
And you can run hardware nested virtualization
egrep -c '(svm|vmx)' /proc/cpuinfo
1.I have QEMU
2.
egrep -c '(svm|vmx)' /proc/cpuinfo
6
You have these two images downloaded? hfs.main hfs.sec
https://github.com/sickcodes/Docker-OSX/issues/43#issuecomment-667650384
https://github.com/sickcodes/Docker-OSX/issues/7#issuecomment-639356240
https://github.com/sickcodes/Docker-OSX/issues/1#issuecomment-640174615
https://github.com/sickcodes/Docker-OSX/issues/4#issuecomment-639557380
I have them
And you have all of these?
Which OS?
# ARCH
sudo pacman -S qemu libvirt dnsmasq virt-manager bridge-utils flex bison iptables-nft edk2-ovmf
# UBUNTU DEBIAN
sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
# CENTOS RHEL FEDORA
sudo yum install libvirt qemu-kvm -y
# then run
sudo systemctl enable libvirtd.service
sudo systemctl enable virtlogd.service
sudo modprobe kvm
# reboot
Let us know when you got it working, or let me know OS so I can replicate. Will add to docs
OS: Manjaro Kernel: 5.4.67-1-MANJARO
I also had this error, solved by running xhost +
(install x11-xserver-utils
if running xhost returns an error).
Btw, @sickcodes , what is the root password when ssh'ing into the container? Just got it running but can't figure out the password. :x
alpine 😅
Hey @voideater how'd you go? 😁? Everything worked?
@sickcodes indeed it does! Only played a bit around with it so far (as everyone else, too much other stuff going on at work, haha) - I'll see if I can find some good use for this once I get some more spare time. Definitely a lot of potential here at least!
@sickcodes indeed it does! Only played a bit around with it so far (as everyone else, too much other stuff going on at work, haha) - I'll see if I can find some good use for this once I get some more spare time. Definitely a lot of potential here at least!
Thanks!
Staying on the pulse 😁
Upstream work gets released here:
https://twitter.com/alephsecurity
https://twitter.com/jonathanafek
https://twitter.com/levaronsky
And of course if there are updates with new iOS versions, I'll post on mine:
$DISPLAY
I have run these commands, but still can not run eyeOs container. The error is: ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 nohup: appending output to 'nohup.out' No protocol specified Unable to init server: Could not connect: Connection refused gtk initialization failed,
Operating system: ubuntu 16.04 desktop, the $DISPLAY is :0
And the command is: sudo docker run -it --privileged --device /dev/kvm -p 2222:2222 \ -v /tmp/.X11-unix:/tmp/.X11-unix -v /mnt/hgfs/repos/eye_os:/home/arch/docker-eyeos/images \ -e RAM=6 \ -e "DISPLAY=:0" \ -e HFS_MAIN=/home/arch/docker-eyeos/images/hfs.main \ -e HFS_SEC=/home/arch/docker-eyeos/images/hfs.sec sickcodes/docker-eyeos:latest