The command doesn't work #590

Open
opened 2025-12-29 01:22:47 +01:00 by adam · 3 comments
Owner

Originally created by @NicolinoGamer on GitHub (May 26, 2024).

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

Originally created by @NicolinoGamer on GitHub (May 26, 2024). 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](https://github.com/sickcodes/Docker-OSX/assets/111190641/ea52532b-3dce-4647-aef1-57cb2c7770fd)
Author
Owner

@NicolinoGamer commented on GitHub (May 26, 2024):

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

@NicolinoGamer commented on GitHub (May 26, 2024): I tried running the command again on Pop OS instead of Arch Linux and I got this: ![image](https://github.com/sickcodes/Docker-OSX/assets/111190641/151e5b6b-0f35-464a-a01e-403c835d7b58)
Author
Owner

@NicolinoGamer commented on GitHub (May 26, 2024):

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

@NicolinoGamer commented on GitHub (May 26, 2024): With Arch I was fine with the Pre-Installed Catalina script but with Pop OS it wasn't. Here's what I get: ![image](https://github.com/sickcodes/Docker-OSX/assets/111190641/2ef12a88-a09c-4d28-98fe-a1cd71a48ffa)
Author
Owner

@tenuuni commented on GitHub (Jun 6, 2024):

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.

@tenuuni commented on GitHub (Jun 6, 2024): 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#590