Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

Trying to start docker-osx on linux ec2

Open tomcallaghan97 opened this issue 3 years ago • 1 comments

Screenshot 2022-06-09 at 15 16 00

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-x86_64: 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.

tomcallaghan97 avatar Jun 09 '22 14:06 tomcallaghan97

AFAIK ec2 does not support virtualization

dumbasPL avatar Jun 13 '22 07:06 dumbasPL