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
36.01k stars 1.78k forks source link

The command doesn't work #772

Open NicolinoGamer opened 1 month ago

NicolinoGamer commented 1 month ago

Every time I try to run this command: docker run -it\ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e GENERATE_UNIQUE=true \ -e CPU='Haswell-noTSX' \ -e CPUID_FLAGS='kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on' \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom-sonoma.plist' \ sickcodes/docker-osx:sonoma I get this problem: fish: ${ is not a valid variable in fish. 2024-05-26_08-15

NicolinoGamer commented 1 month ago

I tried running the command again on Pop OS instead of Arch Linux and I got this: image

NicolinoGamer commented 1 month ago

With Arch I was fine with the Pre-Installed Catalina script but with Pop OS it wasn't. Here's what I get: image

tenuuni commented 3 weeks ago

You are using the fish shell. fish is known to cause problems with POSIX compliance. Switch to the bash shell by running bash and try again.