mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Im getting an error when im going for the simple method #175
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ItIsNotKeshav on GitHub (Apr 21, 2021).
fish: ${ is not a valid variable in fish.
-e "DISPLAY=${DISPLAY:-:0.0}" \
I have run:
docker run -it
--device /dev/kvm
-p 50922:10022
-v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
sickcodes/docker-osx:big-sur
and also docker pull sickcodes/docker-osx:big-sur before that and all have installed all dependencies

@ghost commented on GitHub (Apr 21, 2021):
I think you should use another shell, like bash, you shouldn't use fish as your default sh
@sickcodes commented on GitHub (Apr 22, 2021):
You can just replace that variable with your display
Fish doesn't have shell substitutions from what you showed me which is a good point as I should provide POSIX friendly commands
@ItIsNotKeshav commented on GitHub (Apr 22, 2021):
Oh yes, so i did try it in endeavor with gnome and it worked 1st try, so yes the terminal also does matter