Open idzikovski opened 2 years ago
Just as a side note, this issue happens on a different machine then the kernel panic issue (trying to get this running in more ways).
BTW Is there a way to run the image inside a Mac computer?
I was running into the same issue yesterday, but ultimately I was able to get it working like this:
docker run -it \
--device /dev/kvm \
-p 50922:10022 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e GENERATE_UNIQUE=true \
-e "DISPLAY=${DISPLAY:-:0.0}" \
sickcodes/docker-osx:auto
Just as a side note, this issue happens on a different machine then the kernel panic issue (trying to get this running in more ways).
BTW Is there a way to run the image inside a Mac computer?
Working on it!
OS related issued, please help us identify the issue by posting the output of this
uname -a \ ; echo "${DISPLAY}" \ ; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \ ; grep NAME /etc/os-release \ ; df -h . \ ; qemu-system-x86_64 --version \ ; libvirtd --version \ ; free -mh \ ; nproc \ ; egrep -c '(svm|vmx)' /proc/cpuinfo \ ; ls -lha /dev/kvm \ ; ls -lha /tmp/.X11-unix/ \ ; ps aux | grep dockerd \ ; docker ps | grep osx \ ; grep "docker|kvm|virt" /etc/group
Output:
`Linux ubuntu-server 5.4.0-1055-azure #57~18.04.1-Ubuntu SMP Fri Jul 16 19:40:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
1 NAME="Ubuntu" PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic Filesystem Size Used Avail Use% Mounted on /dev/sda1 29G 3.1G 26G 11% / QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.37) Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers libvirtd (libvirt) 4.0.0 total used free shared buff/cache available Mem: 7.8G 535M 394M 80M 6.9G 6.9G Swap: 0B 0B 0B 2 2 crw-rw---- 1 root kvm 10, 232 Jul 22 17:35 /dev/kvm total 8.0K drwxrwxrwt 2 root root 4.0K Jul 22 20:37 . drwxrwxrwt 11 root root 4.0K Jul 24 10:21 .. srwxrwxrwx 1 azureuser azureuser 0 Jul 22 20:37 X10 root 4415 0.3 0.7 1211088 60184 ? Ssl Jul22 8:22 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock root 19105 0.0 0.0 14860 1016 pts/1 S+ 10:21 0:00 grep --color=auto dockerd 468555e815cb sickcodes/docker-osx:auto "/bin/bash -c 'echo …" 38 hours ago Up 38 hours 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp peaceful_shamir docker:x:999: kvm:x:116: libvirt:x:118:azureuser libvirt-qemu:x:64055:libvirt-qemu libvirt-dnsmasq:x:119:`