mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 08:35:48 +03:00
[GH-ISSUE #257] Im getting an error when im going for the simple method #176
Labels
No labels
bug
documentation
enhancement
following upstream developments
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Docker-OSX#176
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/257
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 21, 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