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.
GNU General Public License v3.0
36.1k
stars
1.78k
forks
source link
Trying to start docker-osx on linux ec2 #505
Open
tomcallaghan97 opened 2 years ago
Tried to run
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
But getting the following errors:
_kvm version too old qemu-system-x86_64: failed to initialize kvm: Inappropriate ioctl for device qemu-system-x8664: falling back to tcg
I am running docker inside of linux ec2 instance.
I also tried running this
docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ sickcodes/docker-osx:latest
But get this error
docker: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory.
Any help would be much appreciated.