sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
46.45k stars 2.5k forks source link

Mouse freezes but the system still working. #191

Open andersonmendess opened 3 years ago

andersonmendess commented 3 years ago

the mouse freezes after some minutes running the container.

Linux lenovo 5.11.2-1-MANJARO #1 SMP PREEMPT Fri Feb 26 12:17:53 UTC 2021 x86_64 GNU/Linux :0 1 NAME="Manjaro Linux" PRETTY_NAME="Manjaro Linux" Sist. Arq. Tam. Usado Disp. Uso% Montado em /dev/nvme0n1p2 225G 75G 139G 36% / bash: qemu-system-x86_64: comando não encontrado bash: libvirtd: comando não encontrado free: Várias opções de unidade não faz sentido. 8 8 crw-rw-rw- 1 root kvm 10, 232 mar 14 20:37 /dev/kvm total 0 drwxrwxrwt 2 root root 60 mar 14 20:37 . drwxrwxrwt 13 root root 420 mar 14 20:51 .. srwxrwxrwx 1 root root 0 mar 14 20:37 X0 root 478 0.0 0.2 1824868 21088 ? Ssl 20:37 0:00 /usr/bin/dockerd -H fd:// anderson 2875 0.0 0.0 6428 2260 pts/2 S+ 20:51 0:00 grep --colour=auto dockerd 7f2d68d6850e sickcodes/docker-osx:latest "/bin/bash -c 'sudo …" 22 hours ago Up 13 minutes 0.0.0.0:50922->10022/tcp dreamy_perlman kvm:x:992: docker:x:963:anderson

sickcodes commented 3 years ago

Change -e RAM=7

sickcodes commented 3 years ago

Yesterday I changed RAM to 2, let me emphasize the RAM issue a bit more in the documentation as I too have experienced lockups when playing with low ram containers

sickcodes commented 3 years ago

Added RAM=max as the default in https://github.com/sickcodes/Docker-OSX/pull/206

iocron commented 3 years ago

It seems to me too much RAM makes everything freeze, too low RAM isn't good either. I am trying 2GB right now and everything works smooth (at least for now).

JoseHuertasDev commented 3 years ago

Any update about this?

hassan0ibrahim commented 1 year ago

Any update about this?